Structs§
- Embedded
Migration - One migration whose SQL is resolved at compile time, usually by
include_str!.
Enums§
Functions§
- ensure_
migrations_ table - Errors
- get_
applied_ migrations - Errors
- mark_
applied - Records
namesas already applied without executing their SQL. - mark_
applied_ through - Records every journal entry up to and including
last_nameas applied, without executing their SQL. - migrations_
table_ ddl - DDL for the internal
_migrationstable (dialect-specific). - record_
migration - Errors
- run_
migrate - Applies pending migrations from the given directory to the database.
- run_
migrate_ embedded - Applies pending migrations from an in-memory list instead of a directory.