[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:
javiexin 2015-06-01 19:50:32 +02:00
parent 6322970766
commit 86945bdf84

View file

@ -1533,6 +1533,11 @@ class tools
} }
} }
if (isset($column_data['after']))
{
$return_array['after'] = $column_data['after'];
}
break; break;
case 'oracle': case 'oracle':