Skip to content

Commit 11eae15

Browse files
committed
🚚 chore: update alembic script location to app/alembic
1 parent e77dcea commit 11eae15

File tree

5 files changed

+2
-3
lines changed

5 files changed

+2
-3
lines changed

alembic.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[alembic]
44
# path to migration scripts
55
# Use forward slashes (/) also on windows to provide an os agnostic path
6-
script_location = alembic
6+
script_location = app/alembic
77

88
# template used to generate migration file names; The default value is %%(rev)s_%%(slug)s
99
# Uncomment the line below if you want the files to be prepended with date and time
File renamed without changes.

alembic/env.py renamed to app/alembic/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from logging.config import fileConfig
22

3+
from alembic import context
34
from sqlalchemy import engine_from_config, pool
45

5-
from alembic import context
66
from app.core.config import settings
77
from app.models import Base
88

alembic/versions/9337a241a3cc_init_db.py renamed to app/alembic/versions/9337a241a3cc_init_db.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from collections.abc import Sequence
1010

1111
import sqlalchemy as sa
12-
1312
from alembic import op
1413

1514
# revision identifiers, used by Alembic.

0 commit comments

Comments
 (0)