Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[6.13] EZP-29206: Added missing upgrade scripts (#2365)
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
SET default_storage_engine=InnoDB; | ||
BEGIN; | ||
This comment has been minimized.
Sorry, something went wrong. |
||
-- Set storage engine schema version number | ||
UPDATE ezsite_data SET value='6.13.4' WHERE name='ezpublish-version'; | ||
COMMIT; | ||
|
||
-- If the queries below fail, it means database is already updated | ||
|
||
CREATE INDEX `ezcontentobject_tree_contentobject_id_path_string` ON `ezcontentobject_tree` (`path_string`, `contentobject_id`); | ||
CREATE INDEX `ezcontentobject_section` ON `ezcontentobject` (`section_id`); |
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,9 @@ | ||
-- Set storage engine schema version number | ||
BEGIN; | ||
UPDATE ezsite_data SET value='6.13.4' WHERE name='ezpublish-version'; | ||
COMMIT; | ||
|
||
-- If the queries below fail, it means database is already updated | ||
|
||
CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id); | ||
CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id); |
nitpick: these begin/commit statements seem pretty useless