aboutsummaryrefslogtreecommitdiffstats
path: root/database.sql
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 /database.sql
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 'database.sql')
-rw-r--r--database.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/database.sql b/database.sql
index c9f9ae77a..4952e7c62 100644
--- a/database.sql
+++ b/database.sql
@@ -202,6 +202,7 @@ CREATE TABLE IF NOT EXISTS `item` (
`private` tinyint(1) NOT NULL DEFAULT '0',
`pubmail` tinyint(1) NOT NULL DEFAULT '0',
`visible` tinyint(1) NOT NULL DEFAULT '0',
+ `starred` tinyint(1) NOT NULL DEFAULT '0',
`unseen` tinyint(1) NOT NULL DEFAULT '1',
`deleted` tinyint(1) NOT NULL DEFAULT '0',
`last-child` tinyint(1) unsigned NOT NULL DEFAULT '1',
@@ -218,6 +219,7 @@ CREATE TABLE IF NOT EXISTS `item` (
KEY `edited` (`edited`),
KEY `received` (`received`),
KEY `visible` (`visible`),
+ KEY `starred` (`starred`),
KEY `deleted` (`deleted`),
KEY `last-child` (`last-child`),
KEY `unseen` (`unseen`),