aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_mysql.sql
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-06 15:31:45 -0800
committerzotlabs <mike@macgirvin.com>2018-03-06 15:31:45 -0800
commitf0f58dade886d88fc178b78c04e1a4067ddfda04 (patch)
treeca3aa0a51e9cb07bb217419d50aa8e84d96a1104 /install/schema_mysql.sql
parentb282e45a02c9c5855fe67bf5723c5f443245c3fd (diff)
downloadvolse-hubzilla-f0f58dade886d88fc178b78c04e1a4067ddfda04.tar.gz
volse-hubzilla-f0f58dade886d88fc178b78c04e1a4067ddfda04.tar.bz2
volse-hubzilla-f0f58dade886d88fc178b78c04e1a4067ddfda04.zip
federated polls: add poll_author which will be necessary for Diaspora federation
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r--install/schema_mysql.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index 5cd04467d..9d60d9eb2 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -969,12 +969,14 @@ CREATE TABLE IF NOT EXISTS `poll` (
`poll_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`poll_guid` varchar(191) NOT NULL,
`poll_channel` int(10) unsigned NOT NULL DEFAULT 0 ,
+ `poll_author` varchar(191) NOT NULL,
`poll_desc` text NOT NULL,
`poll_flags` int(11) NOT NULL DEFAULT 0 ,
`poll_votes` int(11) NOT NULL DEFAULT 0 ,
PRIMARY KEY (`poll_id`),
KEY `poll_guid` (`poll_guid`),
KEY `poll_channel` (`poll_channel`),
+ KEY `poll_author` (`poll_author`),
KEY `poll_flags` (`poll_flags`),
KEY `poll_votes` (`poll_votes`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;