From 505fde30f8eca04288f09b9f7a9046b9a0938cea Mon Sep 17 00:00:00 2001 From: Evgeny Date: Thu, 23 Oct 2025 08:12:59 +0100 Subject: [PATCH] core: enable removal of unused connections in migration (#6399) --- .../Store/Postgres/Migrations/M20251007_connections_sync.hs | 2 +- .../Chat/Store/SQLite/Migrations/M20251007_connections_sync.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Simplex/Chat/Store/Postgres/Migrations/M20251007_connections_sync.hs b/src/Simplex/Chat/Store/Postgres/Migrations/M20251007_connections_sync.hs index f73145f4e9..08d88eeea8 100644 --- a/src/Simplex/Chat/Store/Postgres/Migrations/M20251007_connections_sync.hs +++ b/src/Simplex/Chat/Store/Postgres/Migrations/M20251007_connections_sync.hs @@ -16,7 +16,7 @@ CREATE TABLE connections_sync( last_sync_ts TIMESTAMPTZ ); -INSERT INTO connections_sync (connections_sync_id, should_sync, last_sync_ts) VALUES (1,0,NULL); +INSERT INTO connections_sync (connections_sync_id, should_sync, last_sync_ts) VALUES (1, 1, NULL); |] down_m20251007_connections_sync :: Text diff --git a/src/Simplex/Chat/Store/SQLite/Migrations/M20251007_connections_sync.hs b/src/Simplex/Chat/Store/SQLite/Migrations/M20251007_connections_sync.hs index 64a9275f9a..239f0aeec1 100644 --- a/src/Simplex/Chat/Store/SQLite/Migrations/M20251007_connections_sync.hs +++ b/src/Simplex/Chat/Store/SQLite/Migrations/M20251007_connections_sync.hs @@ -15,7 +15,7 @@ CREATE TABLE connections_sync( last_sync_ts TEXT ); -INSERT INTO connections_sync (connections_sync_id, should_sync, last_sync_ts) VALUES (1,0,NULL); +INSERT INTO connections_sync (connections_sync_id, should_sync, last_sync_ts) VALUES (1, 1, NULL); |] down_m20251007_connections_sync :: Query