Skip to content
Snippets Groups Projects
Commit 56b961ac authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

fix linear order of migrations for 4.4 and 4.5, fixes #1256

Closes #1256

Merge request studip/studip!773
parent c5b686f4
No related branches found
No related tags found
No related merge requests found
...@@ -166,9 +166,9 @@ class DBSchemaVersion implements SchemaVersion ...@@ -166,9 +166,9 @@ class DBSchemaVersion implements SchemaVersion
$result = $db->query("SHOW TABLES LIKE 'schema_versions'"); $result = $db->query("SHOW TABLES LIKE 'schema_versions'");
if ($result && $result->rowCount() > 0) { if ($result && $result->rowCount() > 0) {
$base_version = 269; // 4.4 $base_version = 263; // 4.4
$schema_mapping = [ $schema_mapping = [
20200307 => 285, // 4.5 20200307 => 284, // 4.5
20200522 => 290, // 4.6 20200522 => 290, // 4.6
20210511 => 327 // 5.0 20210511 => 327 // 5.0
]; ];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment