Crate migrant_lib [] [src]

Structs

Config

Project configuration/settings

ConfigInitializer

Project configuration/settings builder to initialize a new config file

Migrator

Migration applicator

Enums

Direction

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

Error

Functions

list

List the currently applied and available migrations under migration_location

new

Create a new migration with the given tag

search_for_config

Search for a .migrant.toml file in the current and parent directories

shell

Open a repl connection to the given Config settings

Type Definitions

Result