Module migration

Source
Expand description

Types to declare schemas and migrations.

A good starting point is too look at crate::migration::schema.

Structs§

Config
Config is used to open a database from a file or in memory.
Migrated
Migrated provides a proof of migration.
Migrator
Migrator is used to apply database migrations.
TransactionMigrate
Transaction type for use in migrations.

Functions§

hash_schema
Calculate the hash of a shema.

Attribute Macros§

schema
Use this macro to define your schema.