Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stud.IP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marcus Eibrink-Lunzenauer
Stud.IP
Commits
56b961ac
Commit
56b961ac
authored
2 years ago
by
Elmar Ludwig
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/migrations/DBSchemaVersion.php
+2
-2
2 additions, 2 deletions
lib/migrations/DBSchemaVersion.php
with
2 additions
and
2 deletions
lib/migrations/DBSchemaVersion.php
+
2
−
2
View file @
56b961ac
...
@@ -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
=
26
9
;
// 4.4
$base_version
=
26
3
;
// 4.4
$schema_mapping
=
[
$schema_mapping
=
[
20200307
=>
28
5
,
// 4.5
20200307
=>
28
4
,
// 4.5
20200522
=>
290
,
// 4.6
20200522
=>
290
,
// 4.6
20210511
=>
327
// 5.0
20210511
=>
327
// 5.0
];
];
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment