diff --git a/install/insert.sql b/install/insert.sql index a1a629f67..0dd73f6ad 100644 --- a/install/insert.sql +++ b/install/insert.sql @@ -1323,7 +1323,9 @@ INSERT INTO resource_i18n (`id`, `locale`, `title`) VALUES (23, 'en_US', 'Configuration / Template'), (23, 'fr_FR', 'Configuration / Template'), (24, 'en_US', 'Configuration / System Log'), -(24, 'fr_FR', 'Configuration / Logs système'); +(24, 'fr_FR', 'Configuration / Logs système'), +(25, 'en_US', 'Configuration / Cache'), +(25, 'fr_FR', 'Configuration / Cache'); INSERT INTO `message` (`id`, `name`, `secured`, `created_at`, `updated_at`, `version`, `version_created_at`, `version_created_by`) VALUES diff --git a/install/update/2.0.0.sql b/install/update/2.0.0.sql index d3c76ff94..aba2a4f0a 100644 --- a/install/update/2.0.0.sql +++ b/install/update/2.0.0.sql @@ -28,4 +28,14 @@ ALTER TABLE `feature_template` ADD INDEX `idx_feature_template_template_id_posit ALTER TABLE `currency` ADD INDEX `idx_currency_code` (`code`); +SELECT @max := MAX(`id`) FROM `resource`; +SET @max := @max+1; + +INSERT INTO `resource` (`id`, `code`, `created_at`, `updated_at`) VALUES +(@max, 'admin.cache', NOW(), NOW()); + +INSERT INTO resource_i18n (`id`, `locale`, `title`) VALUES +(@max, 'en_US', 'Configuration / Cache'), +(@max, 'fr_FR', 'Configuration / Cache'); + SET FOREIGN_KEY_CHECKS = 1; \ No newline at end of file