aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2024-04-16 22:42:25 +0200
committerDaniel Schadt <kingdread@gmx.de>2024-04-16 22:42:25 +0200
commitbbdfcc99e8f7074c99ce6044e34080230e14fe6e (patch)
tree178b2c1db026e2e8cae477bd391c52d18bfcc92d
parent75ea1e5240a6ea190f1dfc56c656a389f33ec6aa (diff)
downloadfietsboek-bbdfcc99e8f7074c99ce6044e34080230e14fe6e.tar.gz
fietsboek-bbdfcc99e8f7074c99ce6044e34080230e14fe6e.tar.bz2
fietsboek-bbdfcc99e8f7074c99ce6044e34080230e14fe6e.zip
use alembic scripts from the package
Especially for the installed module (which is probably the case if you use production.ini), this makes more sense than referring to the source location. We leave the development.ini for now, as there it might make sense to read the local directory (although it's probably installed as an editable module anyway).
-rw-r--r--production.ini2
-rw-r--r--testing.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/production.ini b/production.ini
index 987f441..1d785b5 100644
--- a/production.ini
+++ b/production.ini
@@ -33,7 +33,7 @@ setup = fietsboek.pshell.setup
[alembic]
# path to migration scripts
-script_location = fietsboek/alembic
+script_location = fietsboek:alembic
file_template = %%(year)d%%(month).2d%%(day).2d_%%(rev)s
# file_template = %%(rev)s_%%(slug)s
diff --git a/testing.ini b/testing.ini
index 6f85219..b6b57b7 100644
--- a/testing.ini
+++ b/testing.ini
@@ -37,7 +37,7 @@ setup = fietsboek.pshell.setup
[alembic]
# path to migration scripts
-script_location = fietsboek/alembic
+script_location = fietsboek:alembic
file_template = %%(year)d%%(month).2d%%(day).2d_%%(rev)s
# file_template = %%(rev)s_%%(slug)s