Hello all,
Assume you have a auto migration which adds new columns:
1. manager.add_column(...)
2. manager.add_column(...)
3. manager.add_column(Some foreign key that doesn't exist as of yet will make the manager throw an error)
4. manager.add_column(...)
Now, what the piccolo.apps.migrations.auto.migration_manager.MigrationManager what will happen on the database:
- add column 1
- add column 2
now the manager will evaluate 3. but crash into an error, and will not rollback the 2 added columns on the database
piccolo version: piccolo[postgres]==1.24.2
cockroachDB version: Basic, Google Cloud v25.2.4