oxygen.sql.migration.MigrationConfig.Atomicity
See theAtomicity companion object
None : (Highly not recommended) Will run your migration outside a transaction. : If there ends up being an error within a singular migration, your DB will be in a very weird state. PerMigration : Will run each migration in its own transaction. : This means that if you need to run multiple migrations (A and B), and A succeeds, but B fails, your DB will be in the state between A and B. AllOrNothing : Will run the entire migration in its own transaction. : This means that if you need to run multiple migrations (A and B), and A succeeds, but B fails, your DB will roll back to its state before A.
Attributes
Members list
In this article