Skip to content

Commit ad24be7

Browse files
committed
Resolved error generating correct migration and db location.
1 parent 1757ab2 commit ad24be7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

alembic.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ version_path_separator = os # default: use os.pathsep
5252

5353
# sqlalchemy.url = driver://user:pass@localhost/dbname
5454
# sqlalchemy.url = postgresql+asyncpg://postgres:postgres@db:5432/foo
55-
sqlalchemy.url = sqlite+aiosqlite:///../db.sqlite3
55+
sqlalchemy.url = sqlite+aiosqlite:///./db.sqlite3
5656

5757

5858

migrations/versions/517786f77c6e_init.py migrations/versions/a18b2b45216b_init.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""init
22
3-
Revision ID: 517786f77c6e
3+
Revision ID: a18b2b45216b
44
Revises:
5-
Create Date: 2021-09-28 00:29:13.239062
5+
Create Date: 2021-09-28 00:53:11.380446
66
77
"""
88
from alembic import op
@@ -11,7 +11,7 @@
1111

1212

1313
# revision identifiers, used by Alembic.
14-
revision = '517786f77c6e'
14+
revision = 'a18b2b45216b'
1515
down_revision = None
1616
branch_labels = None
1717
depends_on = None

0 commit comments

Comments
 (0)