table structure for pseudo or proxy channels (pchan)

This commit is contained in:
zotlabs
2017-10-19 17:24:11 -07:00
parent 52183f8bf8
commit 9d51318c53
6 changed files with 164 additions and 50 deletions

View File

@@ -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',