Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ UPDATE sqlite_master
SET sql = replace(sql, 'sender_key BLOB NOT NULL,', 'sender_key BLOB,')
WHERE name = 'conn_confirmations' AND type = 'table';

PRAGMA writable_schema=0;
PRAGMA writable_schema=RESET;
|]

down_m20240624_snd_secure :: Query
Expand All @@ -32,5 +32,5 @@ UPDATE sqlite_master
SET sql = replace(sql, 'sender_key BLOB,', 'sender_key BLOB NOT NULL,')
WHERE name = 'conn_confirmations' AND type = 'table';

PRAGMA writable_schema=0;
PRAGMA writable_schema=RESET;
|]
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SET sql = replace(
)
WHERE name = 'conn_invitations' AND type = 'table';

PRAGMA writable_schema=0;
PRAGMA writable_schema=RESET;
|]

down_m20250702_conn_invitations_remove_cascade_delete :: Query
Expand All @@ -34,5 +34,5 @@ SET sql = replace(
)
WHERE name = 'conn_invitations' AND type = 'table';

PRAGMA writable_schema=0;
PRAGMA writable_schema=RESET;
|]
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ UPDATE sqlite_master
SET sql = replace(sql, 'device_token TEXT NOT NULL', 'device_token BLOB NOT NULL')
WHERE type = 'table' AND name = 'ntf_tokens';

PRAGMA writable_schema=0;
PRAGMA writable_schema=RESET;
|]

down_m20251230_strict_tables :: Query
Expand All @@ -48,7 +48,7 @@ UPDATE sqlite_master
SET sql = replace(sql, 'device_token BLOB NOT NULL', 'device_token TEXT NOT NULL')
WHERE type = 'table' AND name = 'ntf_tokens';

PRAGMA writable_schema=0;
PRAGMA writable_schema=RESET;

UPDATE ntf_tokens SET ntf_mode = CAST(ntf_mode as BLOB);

Expand Down
Loading