Skip to content

Commit f7bb7ca

Browse files
committed
Changing DatabaseInfra.engine_patch to Engine.default_patch from target - Engine migration
1 parent a065883 commit f7bb7ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dbaas/notification/tasks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,7 @@ def migrate_engine(self, database, user, task, since_step=0):
786786
if success:
787787
infra.plan = target_plan
788788
infra.engine = target_plan.engine
789+
infra.engine_patch = target_plan.engine.default_engine_patch
789790
infra.save()
790791

791792
database_migrate_engine_obj.set_success()

0 commit comments

Comments
 (0)