Expand description
Database migration system.
Provides both built-in FORGE schema migrations and support for user migrations.
Structs§
- Applied
Migration - Information about an applied migration.
- Diff
Entry - A single diff entry.
- Migration
- A single migration with up and optional down SQL.
- Migration
Executor - Executes migrations against a database.
- Migration
Generator - Generates SQL migrations from schema changes.
- Migration
Runner - Migration runner that handles both built-in and user migrations.
- Migration
Status - Status of migrations.
- Schema
Diff - Represents the difference between two schemas.
Enums§
- Diff
Action - Type of schema change.
Functions§
- load_
migrations_ from_ dir - Load user migrations from a directory.