2025-01-20 17:43:15 +01:00
|
|
|
-- description: WAL journal, 'None' fix for missing table
|
|
|
|
|
|
|
|
-- Set the journal mode to WAL
|
|
|
|
PRAGMA journal_mode = WAL;
|
|
|
|
|
2025-01-24 10:36:24 +01:00
|
|
|
BEGIN TRANSACTION;
|
2025-01-20 17:43:15 +01:00
|
|
|
|
|
|
|
-- Fix a bug where 'None' was inserted in missing instead of NULL
|
2025-01-20 19:39:12 +01:00
|
|
|
UPDATE "missing"
|
|
|
|
SET "element_id" = NULL
|
|
|
|
WHERE "missing"."element_id" = 'None';
|
2025-01-20 17:43:15 +01:00
|
|
|
|
|
|
|
COMMIT;
|