Module migration

Source
Expand description

Representation of migrations

Structs§

MigrationVersion
A migration version identifier

Constants§

CREATE_MIGRATIONS_TABLE
Create table statement for the __diesel_schema_migrations used used by the postgresql, sqlite and mysql backend

Traits§

Migration
Represents a migration that interacts with diesel
MigrationConnection
A trait indicating that a connection could be used to manage migrations
MigrationMetadata
This trait is designed to customize the behaviour of the default migration harness of diesel
MigrationName
Represents the name of a migration
MigrationSource
A migration source is an entity that can be used to receive a number of migrations from.

Type Aliases§

Result
A specialized result type representing the result of a migration operation