mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 17:31:55 +00:00
core, ui: message signing (#7115)
This commit is contained in:
1 parent
ee51168374
commit
51ad366e8b
70 files changed
+1742
-388
No files matched your search
@@ -0,0 +1,19 @@
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE QuasiQuotes #-}
|
||||
|
||||
module Simplex.Chat.Store.Postgres.Migrations.M20260707_file_digest where
|
||||
|
||||
import Data.Text (Text)
|
||||
import Text.RawString.QQ (r)
|
||||
|
||||
m20260707_file_digest :: Text
|
||||
m20260707_file_digest =
|
||||
[r|
|
||||
ALTER TABLE files ADD COLUMN file_digest BYTEA;
|
||||
|]
|
||||
|
||||
down_m20260707_file_digest :: Text
|
||||
down_m20260707_file_digest =
|
||||
[r|
|
||||
ALTER TABLE files DROP COLUMN file_digest;
|
||||
|]
|
||||
@@ -758,7 +758,8 @@ CREATE TABLE test_chat_schema.files (
|
||||
redirect_file_id bigint,
|
||||
shared_msg_id bytea,
|
||||
file_type text DEFAULT 'normal'::text NOT NULL,
|
||||
roster_transfer_id bigint
|
||||
roster_transfer_id bigint,
|
||||
file_digest bytea
|
||||
);
|
||||
|
||||
|
||||
@@ -985,7 +986,7 @@ CREATE TABLE test_chat_schema.groups (
|
||||
public_member_count bigint,
|
||||
relay_request_retries bigint DEFAULT 0 NOT NULL,
|
||||
relay_request_delay bigint DEFAULT 0 NOT NULL,
|
||||
relay_request_execute_at timestamp with time zone DEFAULT '1970-01-01 01:00:00+01'::timestamp with time zone NOT NULL,
|
||||
relay_request_execute_at timestamp with time zone DEFAULT '1970-01-01 04:00:00+04'::timestamp with time zone NOT NULL,
|
||||
relay_inactive_at timestamp with time zone,
|
||||
relay_sent_web_domain text,
|
||||
roster_version bigint,
|
||||
|
||||
Reference in new issue
Block a user