aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-11-07 17:48:14 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2011-11-07 17:48:14 +0100
commitd7d889bcd09d4e92e0ded85b6c5f94ef18cc9a75 (patch)
treefd9366ab98ae710137f2edaccbf3147cf47ee523 /update.php
parent00c342e13d833fd215e5dc03a508e1abe660fe21 (diff)
downloadvolse-hubzilla-d7d889bcd09d4e92e0ded85b6c5f94ef18cc9a75.tar.gz
volse-hubzilla-d7d889bcd09d4e92e0ded85b6c5f94ef18cc9a75.tar.bz2
volse-hubzilla-d7d889bcd09d4e92e0ded85b6c5f94ef18cc9a75.zip
oauth: db update
Diffstat (limited to 'update.php')
-rw-r--r--update.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/update.php b/update.php
index 67017fa03..511362a6d 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1102 );
+define( 'UPDATE_VERSION' , 1103 );
/**
*
@@ -874,7 +874,14 @@ function update_1101() {
q("ALTER TABLE `gcign` ADD INDEX (`uid`), ADD INDEX (`gcid`) ");
}
+function update_1102() {
+ q("ALTER TABLE `clients` ADD `name` TEXT NULL DEFAULT NULL AFTER `redirect` ");
+ q("ALTER TABLE `clients` ADD `icon` TEXT NULL DEFAULT NULL AFTER `name` ");
+ q("ALTER TABLE `clients` ADD `uid` INT NOT NULL DEFAULT 0 AFTER `icon` ");
+ q("ALTER TABLE `tokens` ADD `secret` TEXT NOT NULL AFTER `id` ");
+ q("ALTER TABLE `tokens` ADD `uid` INT NOT NULL AFTER `scope` ");
+}