Skip to manual
gluon

CLI reference

gluon migrate

Apply the database migrations, master first, then audit.

Model author or developer

Usage

Run it as gluon migrate (in the repository, cargo run -p gluon-cli -- migrate).

Console / text
Apply the database migrations (master, then audit). Forward only

Usage: gluon migrate

Options:
  -h, --help  Print help

What it reads and writes

It upgrades the master database and then the audit database to the latest migration, and prints one line when both are done.

Before you run it

Migrations only go forward: there is no downgrade command. Run it as its own step before you roll out a new version. An app upgrade never runs it for you.

The options for gluon migrate.
The options for gluon migrate.