Skip to content

Commit 3c3ab1c

Browse files
features successfully rearranged
1 parent 54f688f commit 3c3ab1c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

alembic.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@ script_location = alembic
88
# Uncomment the line below if you want the files to be prepended with date and time
99
# see https://alembic.sqlalchemy.org/en/latest/tutorial.html#editing-the-ini-file
1010
# for all available tokens
11+
file_template = %%(year)d-%%(month).2d-%%(day).2d_%%(slug)s
1112
# file_template = %%(year)d_%%(month).2d_%%(day).2d_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s
1213

1314
# sys.path path, will be prepended to sys.path if present.
1415
; prepend_sys_path =
1516

1617

18+
19+
1720
# defaults to the current working directory.
18-
; prepend_sys_path = .
21+
prepend_sys_path = .
1922

2023
# timezone to use when rendering the date within the migration file
2124
# as well as the filename.

alembic/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
config = context.config
1313
config.set_main_option(
1414
# "sqlalchemy.url", "sqlite:///./src/sql_app.db"
15-
"sqlalchemy.url", "sqlite:///../src/sql_app.db"
15+
"sqlalchemy.url", "sqlite:///./src/sql_app.db"
1616
)
1717
# Interpret the config file for Python logging.
1818
# This line sets up loggers basically.

0 commit comments

Comments
 (0)