How to choose position of a new column using AddColumn method? #7344
Unanswered
peter-mattex
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to choose position of a new column using AddColumn like using SQL 'AFTER' keyword?
I am aware of AutoMigrate but it is not an option when the migration files are in the same package and trying to keep migration explicit. Or should I just write plain SQL for migration when I am dedicating database specific type in tags already. I am just a bit bothered when new columns are created after meta columns like deleted_at.
database: MySQL 8
Beta Was this translation helpful? Give feedback.
All reactions