Skip to content

Commit

Permalink
Merge branch '6.13'
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Longosz committed Jun 29, 2018
2 parents a4fd285 + 0db92c2 commit 5ee5a60
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions data/update/mysql/dbupdate-6.13.3-to-6.13.4.sql
@@ -0,0 +1,10 @@
SET default_storage_engine=InnoDB;
BEGIN;
-- 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`);
9 changes: 9 additions & 0 deletions data/update/postgres/dbupdate-6.13.3-to-6.13.4.sql
@@ -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);

0 comments on commit 5ee5a60

Please sign in to comment.