Skip to content

Commit 7d1ca67

Browse files
committed
Adjusted migration plan to run everything and repeat AddPropertyTypeGroupColumns as mentioned by @bergmania
1 parent 2cf3be8 commit 7d1ca67

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -224,18 +224,17 @@ protected void DefinePlan()
224224
To<UpgradedIncludeIndexes>("{4695D0C9-0729-4976-985B-048D503665D8}");
225225
To<UpdateCmsPropertyGroupIdSeed>("{5C424554-A32D-4852-8ED1-A13508187901}");
226226

227-
Merge()
228-
// to 8.17.0
229-
.To<AddPropertyTypeGroupColumns>("{153865E9-7332-4C2A-9F9D-F20AEE078EC7}")
230-
.With()
231-
// This should be safe to execute again. We need it with a new name to ensure updates from all the following has executed this step.
232-
// - 8.15.0 RC - Current state: {4695D0C9-0729-4976-985B-048D503665D8}
233-
// - 8.15.0 Final - Current state: {5C424554-A32D-4852-8ED1-A13508187901}
234-
// - 9.0.0 RC1 - Current state: {5060F3D2-88BE-4D30-8755-CF51F28EAD12}
235-
.To<UpdateCmsPropertyGroupIdSeed>("{622E5172-42E1-4662-AD80-9504AF5A4E53}")
236-
.To<ExternalLoginTableIndexesFixup>("{10F7BB61-C550-426B-830B-7F954F689CDF}")
237-
.To<DictionaryTablesIndexes>("{12DCDE7F-9AB7-4617-804F-AB66BF360980}")
238-
.As("{5AAE6276-80DB-4ACF-B845-199BC6C37538}");
227+
// to 8.17.0
228+
To<AddPropertyTypeGroupColumns>("{153865E9-7332-4C2A-9F9D-F20AEE078EC7}");
229+
230+
// This should be safe to execute again. We need it with a new name to ensure updates from all the following has executed this step.
231+
// - 8.15.0 RC - Current state: {4695D0C9-0729-4976-985B-048D503665D8}
232+
// - 8.15.0 Final - Current state: {5C424554-A32D-4852-8ED1-A13508187901}
233+
// - 9.0.0 RC1 - Current state: {5060F3D2-88BE-4D30-8755-CF51F28EAD12}
234+
To<UpdateCmsPropertyGroupIdSeed>("{622E5172-42E1-4662-AD80-9504AF5A4E53}");
235+
To<ExternalLoginTableIndexesFixup>("{10F7BB61-C550-426B-830B-7F954F689CDF}");
236+
To<DictionaryTablesIndexes>("{5AAE6276-80DB-4ACF-B845-199BC6C37538}");
237+
To<AddPropertyTypeGroupColumns>("{A2686B49-A082-4B22-97FD-AAB154D46A57}"); // Re-run this migration to make sure it has executed to account for migrations going out of sync between versions.
239238

240239
// to 9.0.0 RC1
241240
To<MigrateLogViewerQueriesFromFileToDb>("{22D801BA-A1FF-4539-BFCC-2139B55594F8}");

0 commit comments

Comments
 (0)