Skip to content

Commit

Permalink
EZEE-3453: Added SQL update scripts (#646)
Browse files Browse the repository at this point in the history
* EZEE-3453: Added SQL update scripts

* Updated where clause

* Updated where clause
  • Loading branch information
ciastektk authored Jan 27, 2021
1 parent 9df541c commit 4deb6dd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions upgrade/db/mysql/ezplatform-3.2.3-to-3.2.4.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
UPDATE ezuser SET email =
CASE
WHEN contentobject_id = 10 THEN '[email protected]'
WHEN contentobject_id = 14 THEN '[email protected]'
END
WHERE contentobject_id IN (10, 14) AND email = '[email protected]';
6 changes: 6 additions & 0 deletions upgrade/db/postgresql/ezplatform-3.2.3-to-3.2.4.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
UPDATE ezuser SET email =
CASE
WHEN contentobject_id = 10 THEN '[email protected]'
WHEN contentobject_id = 14 THEN '[email protected]'
END
WHERE contentobject_id IN (10, 14) AND email = '[email protected]';

0 comments on commit 4deb6dd

Please sign in to comment.