diff --git a/upgrade/db/mysql/ezplatform-3.2.3-to-3.2.4.sql b/upgrade/db/mysql/ezplatform-3.2.3-to-3.2.4.sql new file mode 100644 index 000000000..eff1cabd8 --- /dev/null +++ b/upgrade/db/mysql/ezplatform-3.2.3-to-3.2.4.sql @@ -0,0 +1,6 @@ +UPDATE ezuser SET email = + CASE + WHEN contentobject_id = 10 THEN 'anonymous@link.invalid' + WHEN contentobject_id = 14 THEN 'admin@link.invalid' + END +WHERE contentobject_id IN (10, 14) AND email = 'nospam@ez.no'; diff --git a/upgrade/db/postgresql/ezplatform-3.2.3-to-3.2.4.sql b/upgrade/db/postgresql/ezplatform-3.2.3-to-3.2.4.sql new file mode 100644 index 000000000..eff1cabd8 --- /dev/null +++ b/upgrade/db/postgresql/ezplatform-3.2.3-to-3.2.4.sql @@ -0,0 +1,6 @@ +UPDATE ezuser SET email = + CASE + WHEN contentobject_id = 10 THEN 'anonymous@link.invalid' + WHEN contentobject_id = 14 THEN 'admin@link.invalid' + END +WHERE contentobject_id IN (10, 14) AND email = 'nospam@ez.no';