diff options
author | Michael Vogel <icarus@dabo.de> | 2012-04-13 00:10:41 +0200 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-04-13 00:10:41 +0200 |
commit | 572678fef95816deaa1ecafe5cbcfb8cc65963c9 (patch) | |
tree | e59df4f38865c14111d5460e85192759380786a8 /update.php | |
parent | 138caa4380c442200964c8cf071438a0be89da70 (diff) | |
parent | e3af552bbfff2632bbcf2ce94c3e08ad4a5142d2 (diff) | |
download | volse-hubzilla-572678fef95816deaa1ecafe5cbcfb8cc65963c9.tar.gz volse-hubzilla-572678fef95816deaa1ecafe5cbcfb8cc65963c9.tar.bz2 volse-hubzilla-572678fef95816deaa1ecafe5cbcfb8cc65963c9.zip |
Merge commit 'upstream/master'
Conflicts:
include/dba.php
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/update.php b/update.php index 1a36c754d..5ab321b33 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1137 ); +define( 'UPDATE_VERSION' , 1138 ); /** * @@ -1205,4 +1205,11 @@ function update_1136() { q("ALTER TABLE `config` ADD UNIQUE `access` ( `cat` , `k` ) "); q("ALTER TABLE `pconfig` ADD UNIQUE `access` ( `uid` , `cat` , `k` )"); -}
\ No newline at end of file +} + + +function update_1137() { + q("alter table item_id DROP `face` , DROP `dspr` , DROP `twit` , DROP `stat` "); + q("ALTER TABLE `item_id` ADD `sid` CHAR( 255 ) NOT NULL AFTER `uid` , ADD `service` CHAR( 255 ) NOT NULL AFTER `sid` , add index (`sid`), add index ( `service`) "); +} + |