-
Notifications
You must be signed in to change notification settings - Fork 556
Closed
Milestone
Description
Working:
- You can currently define inserts, updates, and deletes in a file and use them for migrations.
Annoying:
- Table creation generates a bunch of nonsense you might not need if the table is deleted/altered by later migrations
- Table creation is restricted to one per file
Missing:
- Detection of breaking changes in the schema and warning about it
- Generation of migrations automatically when you use refactoring tools on the create table statements?
As we discussed, we could go as far as generating the onUpgrade switch automatically. We'd probably want to create something like .sqm files (for migration) which relax the one-table-per-file restriction and don't actually generate anything for them.
Lots to think about since this probably won't happen for a while.
alxsimo, robertoestivill, kalpeshp0310, RicardoBelchior, jonls and 8 more