Merge "Update the migration template's default kwargs"
This commit is contained in:
commit
cb5f284f85
@ -40,14 +40,14 @@ ${imports if imports else ""}
|
|||||||
from quantum.db import migration
|
from quantum.db import migration
|
||||||
|
|
||||||
|
|
||||||
def upgrade(active_plugin=None, enable_db_quota=False):
|
def upgrade(active_plugin=None, options=None):
|
||||||
if not migration.should_run(active_plugin, migration_for_plugins):
|
if not migration.should_run(active_plugin, migration_for_plugins):
|
||||||
return
|
return
|
||||||
|
|
||||||
${upgrades if upgrades else "pass"}
|
${upgrades if upgrades else "pass"}
|
||||||
|
|
||||||
|
|
||||||
def downgrade(active_plugin=None, enable_db_quota=False):
|
def downgrade(active_plugin=None, options=None):
|
||||||
if not migration.should_run(active_plugin, migration_for_plugins):
|
if not migration.should_run(active_plugin, migration_for_plugins):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user