db_migrations_with_multiverse_time_travel library

Classes

AsyncDatabase<D, T>
A database that can store and apply migrations.
AsyncMigration<Db, Serial>
AsyncMigrator<D, T>
Resets the migrator to its initial state, allowing it to be used again.
MaybeAsyncDatabase<Db, Serial>
A database that can store and apply migrations.
Migration<D, S>
A change to the database that can be applied and rolled back.
SyncDatabase<D, T>
A database that can store and apply migrations.
SyncMigration<Db, Serial>
SyncMigrator<D, T>
Resets the migrator to its initial state, allowing it to be used again.

Extensions

AsyncMigrateExt on AsyncDatabase<D, T>
An extension on AsyncDatabase that adds a migrate method.
SyncMigrateExt on SyncDatabase<D, T>
An extension on SyncDatabase that adds a migrate method.

Exceptions / Errors

AlreadyInitializedMigrationError
An error that is thrown when trying to initialize a migration that is already initialized.
UninitializedMigrationError
An error that is thrown trying to access Migration.up or Migration.down when the migration is not Migration.hasInstructions.