Crate migrant [] [src]

Structs

Config

Settings that are serialized and saved in a project .migrant.toml file

Migrator

Migrator to configure how to run available migrations

Enums

Direction

Represents direction to apply migrations. Up -> up.sql Down -> down.sql

Error

Functions

list

List the currently applied and available migrations under config.migration_location

new

Create a new migration with the given tag

search_for_config

Search for a .migrant file in the current directory, looking up the parent path until it finds one.

shell

Open a repl connection to the specified database connection