mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-02 20:42:45 +08:00
Indexing: Fixing Migrations when upgrading from migration version 2 (1.9.2). Fixes #6382
This commit is contained in:
@@ -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() {
|
public int UpdateFrom2() {
|
||||||
|
|
||||||
// A table for a custom job implementation was here, but since we use JobsQueue that table is deprecated.
|
// 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() {
|
public int UpdateFrom3() {
|
||||||
|
|||||||
Reference in New Issue
Block a user