aboutsummaryrefslogtreecommitdiffstats
path: root/database.sql
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-05 02:16:59 -0800
committerfriendica <info@friendica.com>2011-12-05 02:16:59 -0800
commitc8d5274ceea95bdf9df5ca2ab698fa9860319e31 (patch)
treee2d977f26214e30ba4e6e6059d58e26ad287bce3 /database.sql
parent116e20c89dc5874912c7e3870623c747f75238ce (diff)
downloadvolse-hubzilla-c8d5274ceea95bdf9df5ca2ab698fa9860319e31.tar.gz
volse-hubzilla-c8d5274ceea95bdf9df5ca2ab698fa9860319e31.tar.bz2
volse-hubzilla-c8d5274ceea95bdf9df5ca2ab698fa9860319e31.zip
data structures to support hidden friends
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 26580d60d..18fe5f8c3 100644
--- a/database.sql
+++ b/database.sql
@@ -92,6 +92,7 @@ CREATE TABLE IF NOT EXISTS `contact` (
`blocked` tinyint(1) NOT NULL DEFAULT '1',
`readonly` tinyint(1) NOT NULL DEFAULT '0',
`writable` tinyint(1) NOT NULL DEFAULT '0',
+ `hidden` tinyint(1) NOT NULL DEFAULT '0',
`pending` tinyint(1) NOT NULL DEFAULT '1',
`rating` tinyint(1) NOT NULL DEFAULT '0',
`reason` text NOT NULL,
@@ -114,6 +115,7 @@ CREATE TABLE IF NOT EXISTS `contact` (
KEY `dfrn-id` (`dfrn-id`),
KEY `blocked` (`blocked`),
KEY `readonly` (`readonly`),
+ KET `hidden` (`hidden`),
KEY `pending` (`pending`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;