From d3fb69cf129fe70c932a5d82fdd1bcc613544b5b Mon Sep 17 00:00:00 2001
From: Joris
Date: Sun, 27 Nov 2022 15:38:39 +0100
Subject: Speed up deck synchronization

Apply changes for what has been inserted, updated, removed.

Also use transactions to speed up multi-writing.
---
 src/db/sql/3-drop-deck-read.sql | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 src/db/sql/3-drop-deck-read.sql

(limited to 'src/db/sql/3-drop-deck-read.sql')

diff --git a/src/db/sql/3-drop-deck-read.sql b/src/db/sql/3-drop-deck-read.sql
new file mode 100644
index 0000000..1ca23d1
--- /dev/null
+++ b/src/db/sql/3-drop-deck-read.sql
@@ -0,0 +1 @@
+ALTER TABLE cards DROP COLUMN deck_read;
-- 
cgit v1.2.3

