Improve apply_subscriptions
Events now have a subscriptions_applied flag. Using apply_subscriptions without passing an event now processes all events in the next week, which have not yet been processed
This commit is contained in:
@@ -24,7 +24,7 @@ dev = [
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
apply-subscriptions = "meal_manager.scripts:apply_subscriptions"
|
||||
apply-subscriptions = "meal_manager.scripts:apply_subscriptions_cli"
|
||||
|
||||
|
||||
[tool.isort]
|
||||
@@ -36,7 +36,7 @@ profile = "black"
|
||||
# this is typically a path given in POSIX (e.g. forward slashes)
|
||||
# format, relative to the token %(here)s which refers to the location of this
|
||||
# ini file
|
||||
script_location = "%(here)s/alembic"
|
||||
script_location = "%(here)s/src/meal_manager/alembic"
|
||||
|
||||
# template used to generate migration file names; The default value is %%(rev)s_%%(slug)s
|
||||
# Uncomment the line below if you want the files to be prepended with date and time
|
||||
|
||||
Reference in New Issue
Block a user