-
I guess do they both get run if I use
any guidance appreciated thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
You can keep using your existing migration logic and only use the new form for later migrations, is that what you were looking for? If all of your migrations involve dropping and then re-creating all tables, there's also not too much use in most what |
Beta Was this translation helpful? Give feedback.
-
@simolus3 I am upping my schemaVersion to 6 (first schema bump since using migration manager) and, though Also I wish we could have a flag param on
Thanks, |
Beta Was this translation helpful? Give feedback.
Most future migrations will be a lot more intricate than this. I am only dropping all tables on this version so that we have a clean-slate.
My first schema file is
drift_schema_v4.json
Before that I did not have schema files.
To utilize the new
make-migrations
script I need to callrunMigrationSteps
and still manually put in my addColumn's, removeColumn's, and alterTable commands? I guess I'm unclear on how to use the new automatic way.Here is my attempt, please correct as needed: