March Docs

CmdDepot

lib/forge/cmd_depot.march forge depot migrate/rollback/migrations/reset/gen.migration

Migration runner for Depot. Discovers migration files in priv/depot/migrations/, shells out to the march compiler to execute up/0 and down/0 functions, and tracks applied versions via a local .march/depot/migrations.log file.

Types

typeMigFileMigFile = { version: Int, name: String, path: String }#

Functions

fngen_migrationgen_migration(name)#
fnmigratemigrate()#
fnmigrationsmigrations()#
fnresetreset()#
fnrollbackrollback(step)#