mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 00:02:28 +00:00
Merge branch 'master' into badges
This commit is contained in:
commit
c623f4284c
114 files changed
+13939
-1052
No files matched your search
@@ -0,0 +1,19 @@
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE QuasiQuotes #-}
|
||||
|
||||
module Simplex.Chat.Store.Postgres.Migrations.M20260828_file_expiry where
|
||||
|
||||
import Data.Text (Text)
|
||||
import Text.RawString.QQ (r)
|
||||
|
||||
m20260828_file_expiry :: Text
|
||||
m20260828_file_expiry =
|
||||
[r|
|
||||
ALTER TABLE files ADD COLUMN file_expires_at TIMESTAMPTZ;
|
||||
|]
|
||||
|
||||
down_m20260828_file_expiry :: Text
|
||||
down_m20260828_file_expiry =
|
||||
[r|
|
||||
ALTER TABLE files DROP COLUMN file_expires_at;
|
||||
|]
|
||||
@@ -923,7 +923,8 @@ CREATE TABLE test_chat_schema.files (
|
||||
shared_msg_id bytea,
|
||||
file_type text DEFAULT 'normal'::text NOT NULL,
|
||||
roster_transfer_id bigint,
|
||||
file_digest bytea
|
||||
file_digest bytea,
|
||||
file_expires_at timestamp with time zone
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user