March Docs

Forge.DepotReset

lib/forge/depot_reset.march — forge bastion.depot.reset

Rolls back all applied migrations then re-applies them from scratch. Equivalent to running rollback(all) followed by migrate().

Usage: forge bastion.depot.reset

WARNING: This drops and recreates all schema. Do not use in production.

Delegates to CmdDepot.reset() from the Depot library.

Functions

fnmainmain(_cap_console : Cap(IO.Console), _cap_process : Cap(IO.Process))#