aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-07 16:15:54 -0700
committerFriendika <info@friendika.com>2011-08-07 16:15:54 -0700
commit48ffa880f099b19052f18e399bf6af50780a24b0 (patch)
tree48f5e9b52b425af937b5ae2511aaaf6968e0b666 /update.php
parentaa3a14ec36db5f9df9d0ec27c607a994451fc845 (diff)
downloadvolse-hubzilla-48ffa880f099b19052f18e399bf6af50780a24b0.tar.gz
volse-hubzilla-48ffa880f099b19052f18e399bf6af50780a24b0.tar.bz2
volse-hubzilla-48ffa880f099b19052f18e399bf6af50780a24b0.zip
cleanup
Diffstat (limited to 'update.php')
-rw-r--r--update.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/update.php b/update.php
index 4ef362b19..0fafd11e3 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1077 );
+define( 'UPDATE_VERSION' , 1078 );
/**
*
@@ -626,7 +626,15 @@ function update_1075() {
}
function update_1076() {
- q("CREATE TABLE ``guid` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+ q("CREATE TABLE `guid` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+ `guid` CHAR( 16 ) NOT NULL , INDEX ( `guid` ) ) ENGINE = MYISAM ");
+
+}
+
+// There was a typo in 1076 so we'll try again in 1077 to make sure
+
+function update_1077() {
+ q("CREATE TABLE IF NOT EXISTS `guid` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`guid` CHAR( 16 ) NOT NULL , INDEX ( `guid` ) ) ENGINE = MYISAM ");
}