Crate sea_migrations[][src]

Expand description

Effortless database migrations for SeaORM!

Checkout an example using this package here.

Structs

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

Migrator is used to handle running migration operations.

Traits

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 is the trait implemented on a migrator so that sea_migration knows how to do and undo the migration.