aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-02 17:56:57 -0700
committerFriendika <info@friendika.com>2011-07-02 17:56:57 -0700
commit07dc1c3ca931322af683edf9791ef47e295ca6cc (patch)
tree9ef514a97160fce35f14263acd061f30cc0d64d3 /update.php
parent24836f2966842b413ae29f325fbb61b30186a5f7 (diff)
downloadvolse-hubzilla-07dc1c3ca931322af683edf9791ef47e295ca6cc.tar.gz
volse-hubzilla-07dc1c3ca931322af683edf9791ef47e295ca6cc.tar.bz2
volse-hubzilla-07dc1c3ca931322af683edf9791ef47e295ca6cc.zip
db support for starred (favorited) items
Diffstat (limited to 'update.php')
-rw-r--r--update.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/update.php b/update.php
index 775bf7b92..08f1e6854 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1072 );
+define( 'UPDATE_VERSION' , 1073 );
/**
*
@@ -580,3 +580,8 @@ function update_1071() {
q("ALTER TABLE `photo` ADD INDEX ( `profile` ) ");
}
+
+function update_1072() {
+ q("ALTER TABLE `item` ADD `starred` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `visible` ");
+ q("ALTER TABLE `item` ADD INDEX ( `starred` ) ");
+}