Crate db_up

Source

Structs§

ChangelogError
An error that occurred while processing a ChangelogFile
ChangelogFile
A changelog file
MigrationRunner
Struct for running migrations on a database
MigrationState
The minimal information for a migration version
MigrationsError
Represents errors produced by migration code
SqlStatement
A single, optionally annotated, SQL statement
SqlStatementAnnotation
The annotation of an SQL statement
SqlStatementIterator
An iterator for a ChangelogFile

Enums§

ChangelogErrorKind
Kinds of errors that can occur when processing a ChangelogFile
MigrationStatus
Status of a migration.
MigrationsErrorKind
Kinds of errors produced by the migration code

Traits§

MigrationExecutor
Trait for executing migrations
MigrationStateManager
Trait for state management
MigrationStore
Struct storing the changelogs needed for the migrations

Type Aliases§

ChangelogResult
Result

Attribute Macros§

migrations
Attribute macro for automatically generating a db_up::MigrationStore