diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-06 15:31:45 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-03-06 15:31:45 -0800 |
commit | f0f58dade886d88fc178b78c04e1a4067ddfda04 (patch) | |
tree | ca3aa0a51e9cb07bb217419d50aa8e84d96a1104 /install/schema_postgres.sql | |
parent | b282e45a02c9c5855fe67bf5723c5f443245c3fd (diff) | |
download | volse-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_postgres.sql')
-rw-r--r-- | install/schema_postgres.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql index 84b6a554a..d8bbd89f4 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -944,6 +944,7 @@ CREATE TABLE "poll" ( "poll_id" serial NOT NULL, "poll_guid" text NOT NULL, "poll_channel" bigint NOT NULL DEFAULT '0', + "poll_author" text NOT NULL, "poll_desc" text NOT NULL, "poll_flags" bigint NOT NULL DEFAULT '0', "poll_votes" bigint NOT NULL DEFAULT '0', @@ -952,6 +953,7 @@ CREATE TABLE "poll" ( ); create index "poll_guid" on poll ("poll_guid"); create index "poll_channel" on poll ("poll_channel"); +create index "poll_author" on poll ("poll_author"); create index "poll_flags" on poll ("poll_flags"); create index "poll_votes" on poll ("poll_votes"); CREATE TABLE "poll_elm" ( |