Merge "Update the migration template's default kwargs"

This commit is contained in:
Jenkins 2013-01-08 17:54:01 +00:00 committed by Gerrit Code Review
commit cb5f284f85

View File

@ -40,14 +40,14 @@ ${imports if imports else ""}
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):
return
${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):
return