This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
forked from ezsystems/ezoracle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing update sql for 5.3.4; fix update sql 5.1-5.2
- Loading branch information
gggeek
committed
Jan 26, 2015
1 parent
52760cf
commit a9b22d4
Showing
3 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
UPDATE ezsite_data SET value='5.3.3' WHERE name='ezpublish-version'; | ||
|
||
UPDATE ezcontentobject_attribute | ||
SET data_int = NULL | ||
WHERE | ||
data_int = 0 | ||
AND data_type_string IN ( 'ezdate', 'ezdatetime' ); | ||
|
||
UPDATE ezinfocollection_attribute | ||
SET ezinfocollection_attribute.data_int = NULL | ||
WHERE | ||
ezinfocollection_attribute.contentclass_attribute_id IN ( | ||
SELECT id FROM ezcontentclass_attribute WHERE data_type_string IN ( 'ezdate', 'ezdatetime' ) | ||
) | ||
AND ezinfocollection_attribute.data_int = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
UPDATE ezsite_data SET value='5.3.4' WHERE name='ezpublish-version'; | ||
|
||
-- See https://jira.ez.no/browse/EZP-23595 - cleanup extra lines in the ezuser_setting table | ||
DELETE FROM ezuser_setting where user_id not in (SELECT contentobject_id FROM ezuser); |