aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_postgres.sql
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-25 21:52:24 -0700
committerzotlabs <mike@macgirvin.com>2017-04-25 21:52:24 -0700
commit7d5ee81628a08dd560f7fdaa5b4d5a3f5ce3fb95 (patch)
tree428e349ecaa384a74f9aabf0408f68d3e7eed173 /install/schema_postgres.sql
parentf36e384ed7bc76b970862905e87efe88872d5f5d (diff)
downloadvolse-hubzilla-7d5ee81628a08dd560f7fdaa5b4d5a3f5ce3fb95.tar.gz
volse-hubzilla-7d5ee81628a08dd560f7fdaa5b4d5a3f5ce3fb95.tar.bz2
volse-hubzilla-7d5ee81628a08dd560f7fdaa5b4d5a3f5ce3fb95.zip
database support for client side e2ee for private mail
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r--install/schema_postgres.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql
index be72a85e1..0328040f4 100644
--- a/install/schema_postgres.sql
+++ b/install/schema_postgres.sql
@@ -751,6 +751,7 @@ CREATE TABLE "mail" (
"to_xchan" text NOT NULL DEFAULT '',
"account_id" bigint NOT NULL DEFAULT '0',
"channel_id" bigint NOT NULL DEFAULT '0',
+ "mail_mimetype char(64) NOT NULL DEFAULT '0',
"title" text NOT NULL,
"body" text NOT NULL,
"sig" text NOT NULL,
@@ -763,6 +764,7 @@ CREATE TABLE "mail" (
"mail_seen" smallint NOT NULL DEFAULT '0',
"mail_recalled" smallint NOT NULL DEFAULT '0',
"mail_obscured" smallint NOT NULL DEFAULT '0',
+ "mail_raw" smallint NOT NULL DEFAULT '0',
"created" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00',
"expires" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00',
PRIMARY KEY ("id")