Crate sea_migrations

Source
Expand description

Effortless database migrations for SeaORM!

Checkout an example using this package here.

Structs§

MigrationManager
MigrationManager is used to manage migrations. It holds the database connection and has many helpers to make your database migration code concise.
Migrator
Migrator is used to handle running migration operations.

Traits§

MigrationName
MigrationName is the trait implemented on a migration so that sea_migration knows what the migration is called. This can be derived using (TODO add derive macro).
MigratorTrait
MigratorTrait is the trait implemented on a migrator so that sea_migration knows how to do and undo the migration.