mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/13908] "After" clause in migration not working
In a migration file, if you try to add a column to a table and specify the order, by specifying an "after" clause, it is not used at all, even for databases that support it (like mysql). This fixes the issue, for mysql databases. PHPBB3-13908
This commit is contained in:
parent
6322970766
commit
86945bdf84
1 changed files with 5 additions and 0 deletions
|
@ -1533,6 +1533,11 @@ class tools
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($column_data['after']))
|
||||||
|
{
|
||||||
|
$return_array['after'] = $column_data['after'];
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'oracle':
|
case 'oracle':
|
||||||
|
|
Loading…
Add table
Reference in a new issue