Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Rename migration files to be sequential #674

Merged
merged 1 commit into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions alembic.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@ prepend_sys_path = .
# version_locations. The default within new alembic.ini files is "os", which uses os.pathsep.
version_path_separator = os # Use os.pathsep.

# template used to generate migration file names
file_template = %%(year)d_%%(month).2d_%%(day).2d_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s
# timezone to use when rendering the date within the migration file
# as well as the filename.
timezone = UTC

# DB connection string
sqlalchemy.url = sqlite:///codegate_volume/db/codegate.db
Loading