You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something to keep in mind as well is that some people have migrations in a different directory. Especially when not using Masonite so we will have to pass the -d flag off as well to the migration command
Describe the feature as you'd like to see it
On the orator orm, I was used to create my model and migration add the same time with this command
orator make:model Foo -m
What do we currently have to do now?
You have to use 2 commands like this
masonite-orm model Foo
masonite-orm migration Foo --create
Additional context
I believe the best way to implement this is defaulting the migration --create, most times when you create a new model you create a table.
But leaving the possibility to change for --table like this
masonite-orm model Foo -m --table
The text was updated successfully, but these errors were encountered: