diff --git a/migrations/000.493.sql b/migrations/000.493.sql new file mode 100644 index 0000000..8ad69d6 --- /dev/null +++ b/migrations/000.493.sql @@ -0,0 +1,4 @@ +-- Ensure display_name values are null, and not empty strings. +-- So that coalesce(display_name, name) logic works as intended. +-- There are five of these values, for hidden category, the source is a mass import excel. +UPDATE category_texts SET display_name = null where category_id = 1689 and display_name is not null;