[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. Typo fixed.

PHPBB3-13908
This commit is contained in:
javiexin 2015-06-02 09:00:05 +02:00
parent 86945bdf84
commit 56f47c1344

View file

@ -1535,7 +1535,7 @@ class tools
if (isset($column_data['after'])) if (isset($column_data['after']))
{ {
$return_array['after'] = $column_data['after']; $return_array['after'] = $column_data['after'];
} }
break; break;