Skip to content

Commit

Permalink
chore: possible migration file name template
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyrcdias committed Oct 25, 2022
1 parent 4df0c7d commit 1da91b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions alembic.ini
Expand Up @@ -6,6 +6,10 @@ script_location = tests/poc/migration_example/

# template used to generate migration files
# file_template = %%(rev)s_%%(slug)s
# YYYY-mm-dd-HH-MM-SS_<rev>_<message_slug>
# better migration sort? does branching impact? what about using `rev-id` param?
# file_template = %%(year)d-%%(month).2d-%%(day)-2d-%%(hour).2d-%%(minute).2d-%%(second).2d_%%(rev)s_%%(slug)s


# sys.path path, will be prepended to sys.path if present.
# defaults to the current working directory.
Expand Down

0 comments on commit 1da91b1

Please sign in to comment.