From 56f47c13440be49b5e9c73b3e656dc8c9bdfc974 Mon Sep 17 00:00:00 2001 From: javiexin Date: Tue, 2 Jun 2015 09:00:05 +0200 Subject: [PATCH] [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 --- phpBB/phpbb/db/tools.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/db/tools.php b/phpBB/phpbb/db/tools.php index 6f8cc504ff..e76e7b0e18 100644 --- a/phpBB/phpbb/db/tools.php +++ b/phpBB/phpbb/db/tools.php @@ -1535,7 +1535,7 @@ class tools if (isset($column_data['after'])) { - $return_array['after'] = $column_data['after']; + $return_array['after'] = $column_data['after']; } break;