diff --git a/update/2_4_1.sql b/update/2_4_1.sql index 803853590..626c99665 100644 --- a/update/2_4_1.sql +++ b/update/2_4_1.sql @@ -427,6 +427,11 @@ UPDATE `zz_views` SET `query` = REPLACE( REPLACE(`query`, 'deleted=0', '`deleted_at` IS NULL') , 'deleted = 0', '`deleted_at` IS NULL') , '`deleted` = 0', '`deleted_at` IS NULL'); +UPDATE `zz_settings` SET `tipo` = REPLACE( + REPLACE( + REPLACE(`tipo`, 'deleted=0', '`deleted_at` IS NULL') + , 'deleted = 0', '`deleted_at` IS NULL') +, '`deleted` = 0', '`deleted_at` IS NULL'); UPDATE `zz_widgets` SET `query` = REPLACE( REPLACE( @@ -452,6 +457,11 @@ UPDATE `zz_views` SET `query` = REPLACE( REPLACE(`query`, 'deleted=1', '`deleted_at` IS NOT NULL') , 'deleted = 1', '`deleted_at` IS NOT NULL') , '`deleted` = 1', '`deleted_at` IS NOT NULL'); +UPDATE `zz_settings` SET `tipo` = REPLACE( + REPLACE( + REPLACE(`tipo`, 'deleted=1', '`deleted_at` IS NOT NULL') + , 'deleted = 1', '`deleted_at` IS NOT NULL') +, '`deleted` = 1', '`deleted_at` IS NOT NULL'); -- Fix id delle Banche UPDATE `zz_views` SET `enabled` = 0 WHERE `id_module` = (SELECT `id` FROM `zz_modules` WHERE `name` = 'Banche') AND `name` = 'id';