diff options
author | Mario <mario@mariovavti.com> | 2024-01-07 19:58:09 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-01-07 19:58:09 +0000 |
commit | 87775ae37ad7f8226f7413d28e96fd23967c7659 (patch) | |
tree | 330126a1fca83e4297b8b1d2d206b3940dbd7341 /install/schema_postgres.sql | |
parent | 256b66de41b2cd8dcdeb39fc5f080c5ff957e5d2 (diff) | |
download | volse-hubzilla-87775ae37ad7f8226f7413d28e96fd23967c7659.tar.gz volse-hubzilla-87775ae37ad7f8226f7413d28e96fd23967c7659.tar.bz2 volse-hubzilla-87775ae37ad7f8226f7413d28e96fd23967c7659.zip |
ekey and xchan_updated updates
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', |