Module diesel::migration

source ·
Expand description

Representation of migrations



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


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

Type Aliases§

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