diff options
author | zotlabs <mike@macgirvin.com> | 2017-10-19 17:24:11 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-10-19 17:24:11 -0700 |
commit | 9d51318c53e1adc2e4d4c8586f8783819516991e (patch) | |
tree | 444ed9e137016bd1e399d36d784126378a21524c /install/schema_postgres.sql | |
parent | 52183f8bf85777068839490c37a882191f216fe4 (diff) | |
download | volse-hubzilla-9d51318c53e1adc2e4d4c8586f8783819516991e.tar.gz volse-hubzilla-9d51318c53e1adc2e4d4c8586f8783819516991e.tar.bz2 volse-hubzilla-9d51318c53e1adc2e4d4c8586f8783819516991e.zip |
table structure for pseudo or proxy channels (pchan)
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r-- | install/schema_postgres.sql | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql index 65acb644b..082817a60 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -872,6 +872,19 @@ create index "outq_async" on outq ("outq_async"); create index "outq_delivered" on outq ("outq_delivered"); create index "outq_priority" on outq ("outq_priority"); + +CREATE TABLE "pchan" ( + "pchan_id" serial NOT NULL, + "pchan_guid" text NOT NULL, + "pchan_hash" text NOT NULL, + "pchan_pubkey" text NOT NULL, + "pchan_prvkey" text NOT NULL, + PRIMARY KEY ("pchan_id") +); + +create index "pchan_guid" on pchan ("pchan_guid"); +create index "pchan_hash" on pchan ("pchan_hash"); + CREATE TABLE "pconfig" ( "id" serial NOT NULL, "uid" bigint NOT NULL DEFAULT '0', |