Expand description
SeaORM connection and migration integration.
Structs§
- Migration
Status - A migration’s name and current database status.
- NoMigrations
- Default migrator for applications that have no migrations yet.
- Seed
Context - Database transaction and typed settings for explicit application-owned development data.
- Seeds
- An explicit application-owned seed callback. All writes share one transaction.
Enums§
- Database
Connection - Handle a database connection depending on the backend enabled by the feature
flags. This creates a database pool. This will be
Cloneunless the feature flagmockis enabled.
Traits§
- Migration
Trait - The migration definition
- Migrator
Trait - Performing migrations on a database
Functions§
- connect
- Connect to the configured database, with SQL logging disabled by default.
- status
- List applied and pending migrations using SeaORM’s native migration ledger.
Type Aliases§
- Seed
Future - A seed future borrowing the transaction for the duration of the callback.