-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathalembic.ini
25 lines (20 loc) · 941 Bytes
/
alembic.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Database configuration.
# See the full list of options at:
# https://alembic.sqlalchemy.org/en/latest/tutorial.html#editing-the-ini-file
[alembic]
# path to migration scripts
# Use forward slashes (/) also on windows to provide an os agnostic path
script_location = migrations
# sys.path path, will be prepended to sys.path if present.
# defaults to the current working directory.
prepend_sys_path = .
# version path separator; is the character used to split
# version_locations. The default within new alembic.ini files is "os", which uses os.pathsep.
version_path_separator = os # Use os.pathsep.
# template used to generate migration file names
file_template = %%(year)d_%%(month).2d_%%(day).2d_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s
# timezone to use when rendering the date within the migration file
# as well as the filename.
timezone = UTC
# DB connection string
sqlalchemy.url = sqlite:///codegate_volume/db/codegate.db