diff options
author | javiexin <javiexin@gmail.com> | 2015-06-01 19:50:32 +0200 |
---|---|---|
committer | javiexin <javiexin@gmail.com> | 2015-06-01 19:50:32 +0200 |
commit | 86945bdf84086c2662754d4c7a79508fa9f89a9b (patch) | |
tree | 7ff10f3959dc174b49906919fbd0919d6ae99b28 /phpBB/phpbb/db | |
parent | 6322970766bd9fa78327fa2ca6a6a43d73b680ee (diff) | |
download | forums-86945bdf84086c2662754d4c7a79508fa9f89a9b.tar forums-86945bdf84086c2662754d4c7a79508fa9f89a9b.tar.gz forums-86945bdf84086c2662754d4c7a79508fa9f89a9b.tar.bz2 forums-86945bdf84086c2662754d4c7a79508fa9f89a9b.tar.xz forums-86945bdf84086c2662754d4c7a79508fa9f89a9b.zip |
[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
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r-- | phpBB/phpbb/db/tools.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/tools.php b/phpBB/phpbb/db/tools.php index 775deccc30..6f8cc504ff 100644 --- a/phpBB/phpbb/db/tools.php +++ b/phpBB/phpbb/db/tools.php @@ -1533,6 +1533,11 @@ class tools } } + if (isset($column_data['after'])) + { + $return_array['after'] = $column_data['after']; + } + break; case 'oracle': |