ALEMBIC(1)

πŸ“¦ version 1.13.1, in centos-stream 10

🌈 ALEMBIC(1) β€” User Commands, bestie edition 🌈

okay so this is the alembic(1) manual page, and it's for alembic 1.13.1 β€” group-chat mode: ON. πŸ’–

✨ NAME ✨

alembic β€” manual page for alembic 1.13.1. periodt, that's the name section. πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

bestie, the synopsis is literally this, verbatim:

usage: -c [-h] [--version] [-c CONFIG] [-n NAME] [-x X] [--raiseerr]
       [-q]

              {branches,check,current,downgrade,edit,ensure_version,heads,history,init,list_templates,merge,revision,show,stamp,upgrade}
              ...

lowkey iconic: the usage line starts with usage: -c, and then there's the whole squad of subcommands. ✨

πŸŽ€ positional arguments: πŸŽ€

  • branches β€” show current branch points.
  • check β€” check if revision command with autogenerate has pending upgrade ops.
  • current β€” display the current revision for a database.
  • downgrade β€” revert to a previous version.
  • edit β€” edit revision script(s) using $EDITOR.
  • ensure_version β€” create the alembic version table if it doesn't exist already .
  • heads β€” show current available heads in the script directory.
  • history β€” list changeset scripts in chronological order.
  • init β€” initialize a new scripts directory.
  • list_templates β€” list available templates.
  • merge β€” merge two revisions together. Creates a new migration file.
  • revision β€” create a new revision file.
  • show β€” show the revision(s) denoted by the given symbol.
  • stamp β€” 'stamp' the revision table with the given revision; don't run any migrations.
  • upgrade β€” upgrade to a later version.

πŸ’… options: πŸ’…

  • -h, --help β€” show this help message and exit.
  • --version β€” show program's version number and exit.
  • -c CONFIG, --config CONFIG β€” alternate config file; defaults to value of ALEMBIC_CONFIG environment variable, or "alembic.ini".
  • -n NAME, --name NAME β€” name of section in .ini file to use for Alembic config.
  • -x X β€” additional arguments consumed by custom env.py scripts, e.g. -x setting1=somesetting -x setting2=somesetting.
  • --raiseerr β€” raise a full stack trace on error.
  • -q, --quiet β€” do not log to std output.
vibe check: every option and subcommand is here, no cap. slay. πŸ’š

πŸ’– sign-off from source/version alembic 1.13.1, date October 2024 β€” catch u later, bestie, go migrate beautifully πŸ’–

πŸ“¦ where this page comes from