aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_postgres.sql
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-12 17:32:28 -0700
committerzotlabs <mike@macgirvin.com>2017-04-12 17:32:28 -0700
commitd7f4526a00dba2c6a97bc4c231f57c7aa179a691 (patch)
tree644487c9c0c24e9b25b70c4e622eac165cb0b078 /install/schema_postgres.sql
parent57f20c0c2231099ce62dbdf2300e840114e8ce96 (diff)
downloadvolse-hubzilla-d7f4526a00dba2c6a97bc4c231f57c7aa179a691.tar.gz
volse-hubzilla-d7f4526a00dba2c6a97bc4c231f57c7aa179a691.tar.bz2
volse-hubzilla-d7f4526a00dba2c6a97bc4c231f57c7aa179a691.zip
backend infrastructure for 'channel protection password'; which will be used to optionally encrypt export files and resolve channel/identity ownership/hijacking disputes
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r--install/schema_postgres.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql
index e78425828..1a5fe942f 100644
--- a/install/schema_postgres.sql
+++ b/install/schema_postgres.sql
@@ -170,7 +170,7 @@ CREATE TABLE "attach" (
"is_photo" smallint NOT NULL DEFAULT '0',
"os_storage" smallint NOT NULL DEFAULT '0',
"os_path" text NOT NULL,
- "display_path" text NOT NULL,
+4 "display_path" text NOT NULL,
"content" bytea NOT NULL,
"created" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00',
"edited" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00',
@@ -280,6 +280,8 @@ CREATE TABLE "channel" (
"channel_removed" smallint NOT NULL DEFAULT '0',
"channel_system" smallint NOT NULL DEFAULT '0',
"channel_moved" text NOT NULL DEFAULT '',
+ "channel_password" varchar(255) NOT NULL,
+ "channel_salt" varchar(255) NOT NULL,
PRIMARY KEY ("channel_id"),
UNIQUE ("channel_address")
);