From bbdfcc99e8f7074c99ce6044e34080230e14fe6e Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Tue, 16 Apr 2024 22:42:25 +0200 Subject: 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). --- production.ini | 2 +- testing.ini | 2 +- 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 -- cgit v1.2.3