aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-06-21 16:04:13 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-06-21 16:04:13 +0000
commitb8647dc952b8992e3a09d31f27a5f3834fb4e8b5 (patch)
tree75f2510be2fb9e8863f1e5e1c519c1d79a1497a9 /phpBB/install/database_update.php
parentaa2baa7eaa51234e6807905a726c9593c7106679 (diff)
downloadforums-b8647dc952b8992e3a09d31f27a5f3834fb4e8b5.tar
forums-b8647dc952b8992e3a09d31f27a5f3834fb4e8b5.tar.gz
forums-b8647dc952b8992e3a09d31f27a5f3834fb4e8b5.tar.bz2
forums-b8647dc952b8992e3a09d31f27a5f3834fb4e8b5.tar.xz
forums-b8647dc952b8992e3a09d31f27a5f3834fb4e8b5.zip
change subject/title column length
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8666 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php43
1 files changed, 38 insertions, 5 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 184331976b..0805a2b273 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -8,7 +8,7 @@
*
*/
-$updates_to_version = '3.0.2-RC1';
+$updates_to_version = '3.0.2-RC2';
// Return if we "just include it" to find out for which version the database update is responsible for
if (defined('IN_PHPBB') && defined('IN_INSTALL'))
@@ -500,8 +500,37 @@ $database_update_info = array(
'3.0.1-RC1' => array(),
// No changes from 3.0.1 to 3.0.2-RC1
'3.0.1' => array(),
-// uncomment once RC1 out - no changes from 3.0.2-RC1 to 3.0.2
-// '3.0.2-RC1' => array(),
+ // Changes from 3.0.2-RC1 to 3.0.2-RC2
+ '3.0.2-RC1' => array(
+ 'change_columns' => array(
+ DRAFTS_TABLE => array(
+ 'draft_subject' => array('STEXT_UNI', ''),
+ ),
+ FORUMS_TABLE => array(
+ 'forum_last_post_subject' => array('STEXT_UNI', ''),
+ ),
+ POSTS_TABLE => array(
+ 'post_subject' => array('STEXT_UNI', '', 'true_sort'),
+ ),
+ PRIVMSGS_TABLE => array(
+ 'message_subject' => array('STEXT_UNI', ''),
+ ),
+ TOPICS_TABLE => array(
+ 'topic_title' => array('STEXT_UNI', '', 'true_sort'),
+ 'topic_last_post_subject' => array('STEXT_UNI', ''),
+ ),
+ ),
+ 'drop_keys' => array(
+ SESSIONS_TABLE => array('session_forum_id'),
+ ),
+ 'add_index' => array(
+ SESSIONS_TABLE => array(
+ 'session_fid' => array('session_forum_id'),
+ ),
+ ),
+ ),
+ // uncomment once RC2 out - no changes from 3.0.2-RC2 to 3.0.2
+// '3.0.2-RC2' => array(),
);
// Determine mapping database type
@@ -1784,8 +1813,12 @@ function change_database_data(&$no_updates, $version)
$no_updates = false;
break;
- // uncomment once RC1 out - no changes from 3.0.2-RC1 to 3.0.2
-// case '3.0.2-RC1':
+ // No changes from 3.0.2-RC1 to 3.0.2-RC2
+ case '3.0.2-RC1':
+ break;
+
+ // uncomment once RC2 out - no changes from 3.0.2-RC2 to 3.0.2
+// case '3.0.2-RC2':
// break;
}
}