diff options
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/update.php b/update.php index cdadb2e38..67017fa03 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1101 ); +define( 'UPDATE_VERSION' , 1102 ); /** * @@ -864,6 +864,17 @@ function update_1100() { } +function update_1101() { + q("CREATE TABLE IF NOT EXISTS `gcign` ( + `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , + `uid` INT NOT NULL , + `gcid` INT NOT NULL + ) ENGINE = MYISAM "); + + q("ALTER TABLE `gcign` ADD INDEX (`uid`), ADD INDEX (`gcid`) "); +} + + |