diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-09-30 21:00:06 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-09-30 21:00:06 -0700 |
commit | 632c5570086bdfd8c8a311ccec44648697a8ef8b (patch) | |
tree | 4b7fea4f6f63938a374677b4a6a775bd15635d70 /database.sql | |
parent | 465ba71b584ad596729c23717226a9bdeb896553 (diff) | |
download | volse-hubzilla-632c5570086bdfd8c8a311ccec44648697a8ef8b.tar.gz volse-hubzilla-632c5570086bdfd8c8a311ccec44648697a8ef8b.tar.bz2 volse-hubzilla-632c5570086bdfd8c8a311ccec44648697a8ef8b.zip |
pubsubhubbub db refinements
Diffstat (limited to 'database.sql')
-rw-r--r-- | database.sql | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/database.sql b/database.sql index fd709878d..78c7d27c2 100644 --- a/database.sql +++ b/database.sql @@ -69,6 +69,9 @@ CREATE TABLE IF NOT EXISTS `contact` ( `confirm` text NOT NULL, `aes_allow` tinyint(1) NOT NULL DEFAULT '0', `ret-aes` tinyint(1) NOT NULL DEFAULT '0', + `usehub` tinyint(1) NOT NULL DEFAULT '0', + `subhub` tinyint(1) NOT NULL DEFAULT '0', + `hub-verify` char(255) NOT NULL, `last-update` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `name-date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `uri-date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', @@ -80,7 +83,13 @@ CREATE TABLE IF NOT EXISTS `contact` ( `rating` tinyint(1) NOT NULL DEFAULT '0', `reason` text NOT NULL, `profile-id` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`) + PRIMARY KEY (`id`), + KEY `uid` (`uid`), + KEY `self` (`self`), + KEY `issued-id` (`issued-id`), + KEY `dfrn-id` (`dfrn-id`), + KEY `blocked` (`blocked`), + KEY `readonly` (`readonly`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- |