Skip to content

Commit

Permalink
Clarify how script_location can be os agnostic
Browse files Browse the repository at this point in the history
Fixes: #1431
Change-Id: Iafe70621911614d197e5e5ecf74afecd6f4df10e
  • Loading branch information
CaselIT committed Mar 18, 2024
1 parent 55038e6 commit b6e7e2f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions alembic/templates/async/alembic.ini.mako
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# A generic, single database configuration.

[alembic]
# path to migration scripts
# path to migration scripts.
# Use forward slashes (/) also on windows to provide an os agnostic path
script_location = ${script_location}

# template used to generate migration file names; The default value is %%(rev)s_%%(slug)s
Expand All @@ -20,8 +21,7 @@ prepend_sys_path = .
# leave blank for localtime
# timezone =

# max length of characters to apply to the
# "slug" field
# max length of characters to apply to the "slug" field
# truncate_slug_length = 40

# set to 'true' to run the environment during
Expand Down
4 changes: 2 additions & 2 deletions alembic/templates/generic/alembic.ini.mako
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[alembic]
# path to migration scripts
# Use forward slashes (/) also on windows to provide an os agnostic path
script_location = ${script_location}

# template used to generate migration file names; The default value is %%(rev)s_%%(slug)s
Expand All @@ -22,8 +23,7 @@ prepend_sys_path = .
# leave blank for localtime
# timezone =

# max length of characters to apply to the
# "slug" field
# max length of characters to apply to the "slug" field
# truncate_slug_length = 40

# set to 'true' to run the environment during
Expand Down
4 changes: 2 additions & 2 deletions alembic/templates/multidb/alembic.ini.mako
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[alembic]
# path to migration scripts
# Use forward slashes (/) also on windows to provide an os agnostic path
script_location = ${script_location}

# template used to generate migration file names; The default value is %%(rev)s_%%(slug)s
Expand All @@ -22,8 +23,7 @@ prepend_sys_path = .
# leave blank for localtime
# timezone =

# max length of characters to apply to the
# "slug" field
# max length of characters to apply to the "slug" field
# truncate_slug_length = 40

# set to 'true' to run the environment during
Expand Down

0 comments on commit b6e7e2f

Please sign in to comment.