File tree 2 files changed +5
-2
lines changed 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,17 @@ script_location = alembic
8
8
# Uncomment the line below if you want the files to be prepended with date and time
9
9
# see https://alembic.sqlalchemy.org/en/latest/tutorial.html#editing-the-ini-file
10
10
# for all available tokens
11
+ file_template = %%(year)d-%%(month).2d-%%(day).2d_%%(slug)s
11
12
# file_template = %%(year)d_%%(month).2d_%%(day).2d_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s
12
13
13
14
# sys.path path, will be prepended to sys.path if present.
14
15
; prepend_sys_path =
15
16
16
17
18
+
19
+
17
20
# defaults to the current working directory.
18
- ; prepend_sys_path = .
21
+ prepend_sys_path = .
19
22
20
23
# timezone to use when rendering the date within the migration file
21
24
# as well as the filename.
Original file line number Diff line number Diff line change 12
12
config = context .config
13
13
config .set_main_option (
14
14
# "sqlalchemy.url", "sqlite:///./src/sql_app.db"
15
- "sqlalchemy.url" , "sqlite:///.. /src/sql_app.db"
15
+ "sqlalchemy.url" , "sqlite:///./src/sql_app.db"
16
16
)
17
17
# Interpret the config file for Python logging.
18
18
# This line sets up loggers basically.
You can’t perform that action at this time.
0 commit comments