mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-06-05 12:22:30 +00:00
core: use strict tables (#6535)
* core: use strict tables * fix field types * change encodings to match schema types; migrate sqlite tables to strict mode * stabilize postgres client tests, remove slow handshake tests * update simplexmq * fix test * change call_state type to text * fix directory service queries * update local_alias for existing schemas * change types before strict
This commit is contained in:
@@ -173,7 +173,7 @@ CREATE TABLE test_chat_schema.calls (
|
||||
contact_id bigint NOT NULL,
|
||||
shared_call_id bytea NOT NULL,
|
||||
chat_item_id bigint NOT NULL,
|
||||
call_state bytea NOT NULL,
|
||||
call_state text NOT NULL,
|
||||
call_ts timestamp with time zone NOT NULL,
|
||||
user_id bigint NOT NULL,
|
||||
created_at timestamp with time zone DEFAULT now() NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user