aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_postgres.sql
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-22 19:32:08 -0700
committerzotlabs <mike@macgirvin.com>2017-10-22 19:32:08 -0700
commitc49eec71f0995cd75be99a64a4dde398f9f0241b (patch)
tree06e29769c32460299d9c73794028e657e362b6e2 /install/schema_postgres.sql
parentcdb1bc9be6fbc09caff62c0153386cc58a2bfbd9 (diff)
parentb58bf75f21d15ac440bb3a90edb29afac9eb64ba (diff)
downloadvolse-hubzilla-c49eec71f0995cd75be99a64a4dde398f9f0241b.tar.gz
volse-hubzilla-c49eec71f0995cd75be99a64a4dde398f9f0241b.tar.bz2
volse-hubzilla-c49eec71f0995cd75be99a64a4dde398f9f0241b.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r--install/schema_postgres.sql13
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',