Merge pull request #2481 from charltonaustin/fix_migration_merge_issue

fix(migration merge issue): missing .save() on migration
This commit is contained in:
Charlton Austin 2017-03-28 15:19:53 -04:00 committed by GitHub
commit e158314ba0

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):