13 lines
276 B
MySQL
13 lines
276 B
MySQL
|
-- 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;
|