Postgres module

migration_status

procedure · 1 overloadsince 0.27.0Source

Each migration's state, in the list's order, then the applied ones missing from the list. Creates the migrations table if it does not exist.

migration_status :: (
    c: *Connection,
    migrations: [] Migration
) -> ([] Migration_Status, Pg_Error)

Each migration's state, in the list's order, then the applied ones missing from the list. Creates the migrations table if it does not exist.

Parameters

c: *Connection
the connection to check.
migrations: [] Migration
all the migrations, applied or not.

Returns

See also