Skip to content
Snippets Groups Projects
Commit 92d42bb0 authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Add fix for versions that contain the NULL string.

parent 0041cff5
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
ALTER TABLE xref CHANGE COLUMN version version VARCHAR(10) DEFAULT '0' NOT NULL;
UPDATE xref SET version = '0' WHERE version = NULL OR version = '';
UPDATE xref SET version = '0' WHERE version = NULL OR version = '' OR version = "NULL";
# patch identifier
INSERT INTO meta (meta_key, meta_value) VALUES ('patch', 'patch_39_40_c.sql|xref_version');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment