diff options
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r-- | install/schema_postgres.sql | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql index 42c65b171..90c6ab7ae 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -253,6 +253,8 @@ CREATE TABLE "channel" ( "channel_startpage" text NOT NULL DEFAULT '', "channel_pubkey" text NOT NULL, "channel_prvkey" text NOT NULL, + "channel_epubkey" text NOT NULL, + "channel_eprvkey" text NOT NULL, "channel_notifyflags" bigint NOT NULL DEFAULT '65535', "channel_pageflags" bigint NOT NULL DEFAULT '0', "channel_dirdate" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00', @@ -1239,8 +1241,9 @@ create index "vote_element" on vote ("vote_element"); CREATE TABLE "xchan" ( "xchan_hash" text NOT NULL, "xchan_guid" text NOT NULL DEFAULT '', - "xchan_guid_sig" text NOT NULL DEFAULT '', - "xchan_pubkey" text NOT NULL DEFAULT '', + "xchan_guid_sig" text NOT NULL, + "xchan_pubkey" text NOT NULL, + "xchan_epubkey" text NOT NULL, "xchan_photo_mimetype" text NOT NULL DEFAULT 'image/jpeg', "xchan_photo_l" text NOT NULL DEFAULT '', "xchan_photo_m" text NOT NULL DEFAULT '', @@ -1256,6 +1259,7 @@ CREATE TABLE "xchan" ( "xchan_flags" bigint NOT NULL DEFAULT '0', "xchan_photo_date" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00', "xchan_name_date" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00', + "xchan_updated" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00', "xchan_hidden" smallint NOT NULL DEFAULT '0', "xchan_orphan" smallint NOT NULL DEFAULT '0', "xchan_censored" smallint NOT NULL DEFAULT '0', |