aboutsummaryrefslogtreecommitdiffstats
path: root/install/database.sql
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-06 17:00:25 -0700
committerfriendica <info@friendica.com>2014-08-06 17:00:25 -0700
commit70449755202327bd6ac06cbbae04ba6098f43a1e (patch)
tree5d37b7a6395b882ea9a5440dd86707d37ababc5e /install/database.sql
parent0903d57311dd02f1029cc879da71b3c4bb0e58cb (diff)
downloadvolse-hubzilla-70449755202327bd6ac06cbbae04ba6098f43a1e.tar.gz
volse-hubzilla-70449755202327bd6ac06cbbae04ba6098f43a1e.tar.bz2
volse-hubzilla-70449755202327bd6ac06cbbae04ba6098f43a1e.zip
item table upgrade for storing post visibility
Diffstat (limited to 'install/database.sql')
-rw-r--r--install/database.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/database.sql b/install/database.sql
index bcb4d010c..eabd45d4c 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -520,6 +520,7 @@ CREATE TABLE IF NOT EXISTS `item` (
`sig` text NOT NULL DEFAULT '',
`location` char(255) NOT NULL DEFAULT '',
`coord` char(255) NOT NULL DEFAULT '',
+ `public_policy` char(255) NOT NULL DEFAULT '',
`comment_policy` char(255) NOT NULL DEFAULT '',
`allow_cid` mediumtext NOT NULL DEFAULT '',
`allow_gid` mediumtext NOT NULL DEFAULT '',
@@ -552,6 +553,7 @@ CREATE TABLE IF NOT EXISTS `item` (
KEY `mid` (`mid`),
KEY `parent_mid` (`parent_mid`),
KEY `uid_mid` (`mid`,`uid`),
+ KEY `public_policy` (`public_policy`),
KEY `comment_policy` (`comment_policy`),
KEY `layout_mid` (`layout_mid`),
FULLTEXT KEY `title` (`title`),