Merge pull request #2481 from charltonaustin/fix_migration_merge_issue
fix(migration merge issue): missing .save() on migration
This commit is contained in:
commit
e158314ba0
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||
|
|
Reference in a new issue