$table to $column in migration blueprint #42386
Unanswered
hirenkeraliya
asked this question in
Ideas
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, As we know laravel believes in a readable code. But, on the migration, we wrote like
$table->string('name')
table string name but the table is neverstring
we all know that. instead of this, we can do like$column->string('name')
What do you think about this? Is this a good suggestion?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions