fix(migration merge issue): missing .save() on migration

This commit is contained in:
Charlton Austin 2017-03-28 15:17:51 -04:00
parent 64cd139552
commit 9ff189b16e

View file

@ -23,6 +23,7 @@ def upgrade(tables):
for repositoryBuildTrigger in repostioryBuildTriggers:
config = json.loads(repositoryBuildTrigger.config)
repositoryBuildTrigger.config = json.dumps(get_config_expand(config))
repositoryBuildTrigger.save()
def downgrade(tables):
@ -30,6 +31,7 @@ def downgrade(tables):
for repositoryBuildTrigger in repostioryBuildTriggers:
config = json.loads(repositoryBuildTrigger.config)
repositoryBuildTrigger.config = json.dumps(get_config_expand(config))
repositoryBuildTrigger.save()
def create_context(current_subdir):