Creating table using models in sql