Skip to content

Commit 2d84a2f

Browse files
committed
Edit alembic format
1 parent b41b584 commit 2d84a2f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

fastapi-alembic-sqlmodel-async/alembic.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ script_location = alembic
66

77
# template used to generate migration files
88
# file_template = %%(rev)s_%%(slug)s
9+
file_template = %%(year)d-%%(month).2d-%%(day).2d-%%(hour).2d-%%(minute).2d_%%(rev)s
910

1011
# timezone to use when rendering the date
1112
# within the migration file as well as the filename.

fastapi-alembic-sqlmodel-async/alembic/versions/669125bdb1f0_.py renamed to fastapi-alembic-sqlmodel-async/alembic/versions/2022-09-25-19-46_60d49bf413b8.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""empty message
22
3-
Revision ID: 669125bdb1f0
3+
Revision ID: 60d49bf413b8
44
Revises:
5-
Create Date: 2022-09-22 19:58:54.879772
5+
Create Date: 2022-09-25 19:46:48.536092
66
77
"""
88
from alembic import op
@@ -12,7 +12,7 @@
1212

1313

1414
# revision identifiers, used by Alembic.
15-
revision = '669125bdb1f0'
15+
revision = '60d49bf413b8'
1616
down_revision = None
1717
branch_labels = None
1818
depends_on = None

0 commit comments

Comments
 (0)