🪨
damian
CLI

migrate

Apply pending migrations to the database

What it does

Applies all pending migrations using dbmate. Migration files live in ./damian/.migrations/. Only .sql files not yet recorded in the migrations table are applied.


Run

npx damian migrate
pnpm damian migrate
yarn damian migrate

On this page