Skip to main content

marvin.cli.migrations

Command line utilities for database migrations.

Functions

current

Show current migration revision.

downgrade

Downgrade database to specified revision. Requires confirmation.

get_alembic_cfg

Get the Alembic config.

history

Show migration history.

reset

Reset database by downgrading to base and upgrading to head. Requires confirmation.

revision

Create a new migration revision. Developer command.

status

Show database migration status and information.

upgrade

Upgrade database to the latest migration.
Parent Module: cli