mycroforge-docs/docs/Commands/m4g_db/index.md
2024-10-06 13:24:20 +02:00

489 B

sidebar_position
1

m4g db

Description:
  Database related commands

Usage:
  m4g db [command] [options]

Options:
  -?, -h, --help  Show help and usage information

Commands:
  run          Runs the services defined in db.docker-compose.yml
  stop         Stops db.docker-compose.yml
  migrate      Apply migrations to the database
  rollback     Rollback the last migration
  g, generate  Generate a database item
  link         Define relationships between entities