Indexing: Fixing Migrations when upgrading from migration version 2 (1.9.2). Fixes #6382

This commit is contained in:
Lombiq
2016-02-23 22:39:13 +01:00
committed by Benedek Farkas
parent e9e5cd7b6f
commit c09ffd85c4

View File

@@ -33,14 +33,13 @@ namespace Orchard.Indexing {
}
}
return 2;
return 4; // Returns 4 instead of 2 due to the modified/deleted migrations in UpdateFrom2-3.
}
public int UpdateFrom2() {
// A table for a custom job implementation was here, but since we use JobsQueue that table is deprecated.
return 3;
return 4; // See the comment in UpdateFrom1.
}
public int UpdateFrom3() {