13 lines
276 B
SQL
13 lines
276 B
SQL
-- description: WAL journal, 'None' fix for missing table
|
|
|
|
-- Set the journal mode to WAL
|
|
PRAGMA journal_mode = WAL;
|
|
|
|
BEGIN transaction;
|
|
|
|
-- Fix a bug where 'None' was inserted in missing instead of NULL
|
|
UPDATE missing
|
|
SET element_id = NULL
|
|
WHERE element_id = 'None';
|
|
|
|
COMMIT; |