From dde92019759e63ec176f05da98742747113944b3 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Fri, 30 May 2014 17:46:22 +0200 Subject: [PATCH] [ticket/12352] Remove user_pass_convert column from database PHPBB3-12352 --- .../data/v310/passwords_convert_p2.php | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 phpBB/phpbb/db/migration/data/v310/passwords_convert_p2.php diff --git a/phpBB/phpbb/db/migration/data/v310/passwords_convert_p2.php b/phpBB/phpbb/db/migration/data/v310/passwords_convert_p2.php new file mode 100644 index 0000000000..3a7d3d2169 --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v310/passwords_convert_p2.php @@ -0,0 +1,40 @@ + array( + $this->table_prefix . 'users' => array( + 'user_pass_convert', + ), + ), + ); + } + + public function revert_schema() + { + return array( + 'add_columns' => array( + $this->table_prefix . 'users' => array( + 'user_pass_convert' => array('BOOL', 0, 'after' => 'user_passchg'), + ), + ), + ); + } +}