We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84aed40 commit e4b85b8Copy full SHA for e4b85b8
backend/infrahub/core/branch/tasks.py
@@ -76,6 +76,8 @@ async def migrate_branch(branch: str, context: InfrahubContext, send_events: boo
76
migration_runner = MigrationRunner(branch=obj)
77
if not migration_runner.has_migrations():
78
log.info(f"No migrations detected for branch '{obj.name}'")
79
+ obj.graph_version = GRAPH_VERSION
80
+ await obj.save(db=db)
81
return
82
83
# Branch status will remain as so if the migration process fails
0 commit comments