aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-11-27 13:44:24 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-11-27 13:44:24 +0000
commit481e5c193fa21bd2cb8d7086fcdccd3d6964604d (patch)
tree394eb1daec286a63cd2db1a828b11d4b50217621 /phpBB/install/database_update.php
parentee2fd4610d2550c2fa2f9d3ab67ebdd2b785bd3c (diff)
downloadforums-481e5c193fa21bd2cb8d7086fcdccd3d6964604d.tar
forums-481e5c193fa21bd2cb8d7086fcdccd3d6964604d.tar.gz
forums-481e5c193fa21bd2cb8d7086fcdccd3d6964604d.tar.bz2
forums-481e5c193fa21bd2cb8d7086fcdccd3d6964604d.tar.xz
forums-481e5c193fa21bd2cb8d7086fcdccd3d6964604d.zip
extend the style columns (style_id, template_id, imageset_id, image_id...)
No, not only because of possible style demos. :o git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9129 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php32
1 files changed, 31 insertions, 1 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index b5839f517a..a0627a917f 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -8,7 +8,7 @@
*
*/
-$updates_to_version = '3.0.3';
+$updates_to_version = '3.0.4-RC1';
// 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'))
@@ -556,6 +556,36 @@ $database_update_info = array(
'field_show_profile' => array('BOOL', 0),
),
),
+ 'change_columns' => array(
+ STYLES_TABLE => array(
+ 'style_id' => array('UINT', NULL, 'auto_increment'),
+ 'template_id' => array('UINT', 0),
+ 'theme_id' => array('UINT', 0),
+ 'imageset_id' => array('UINT', 0),
+ ),
+ STYLES_IMAGESET_TABLE => array(
+ 'imageset_id' => array('UINT', NULL, 'auto_increment'),
+ ),
+ STYLES_IMAGESET_DATA_TABLE => array(
+ 'image_id' => array('UINT', NULL, 'auto_increment'),
+ 'imageset_id' => array('UINT', 0),
+ ),
+ STYLES_THEME_TABLE => array(
+ 'theme_id' => array('UINT', NULL, 'auto_increment'),
+ ),
+ STYLES_TEMPLATE_TABLE => array(
+ 'template_id' => array('UINT', NULL, 'auto_increment'),
+ ),
+ STYLES_TEMPLATE_DATA_TABLE => array(
+ 'template_id' => array('UINT', 0),
+ ),
+ FORUMS_TABLE => array(
+ 'forum_style' => array('USINT', 0),
+ ),
+ USERS_TABLE => array(
+ 'user_style' => array('UINT', 0),
+ ),
+ ),
),
);