Skip to content

Commit

Permalink
EZP-26397: Upgrade script: marked User.user_account as not searchable
Browse files Browse the repository at this point in the history
Add upgrade db sql for change in #1800.
  • Loading branch information
andrerom committed Oct 13, 2016
1 parent 7871e12 commit 17178e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/update/mysql/dbupdate-6.5.0-to-6.6.0.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
SET default_storage_engine=InnoDB;
-- Set storage engine schema version number
UPDATE ezsite_data SET value='6.6.0' WHERE name='ezpublish-version';

--
-- EZP-26397: marked User.user_account as not searchable
--
UPDATE ezcontentclass_attribute SET is_searchable = 0 WHERE data_type_string = 'ezuser';
5 changes: 5 additions & 0 deletions data/update/postgres/dbupdate-6.5.0-to-6.6.0.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
-- Set storage engine schema version number
UPDATE ezsite_data SET value='6.6.0' WHERE name='ezpublish-version';

--
-- EZP-26397: marked User.user_account as not searchable
--
UPDATE ezcontentclass_attribute SET is_searchable = 0 WHERE data_type_string = 'ezuser';

0 comments on commit 17178e8

Please # to comment.