added update sql for terms and conditions
This commit is contained in:
committed by
Julien Chanseaume
parent
160ccaa4ff
commit
2471147357
@@ -20,6 +20,20 @@ INSERT INTO `config_i18n` (`id`, `locale`, `title`, `description`, `chapo`, `pos
|
||||
(@max, 'en_US', 'Default available stock when check-available-stock is set to 0.', NULL, NULL, NULL),
|
||||
(@max, 'fr_FR', 'Stock disponible par défaut quand check-available-stock est à 0.', NULL, NULL, NULL);
|
||||
|
||||
# default information, terms and conditions
|
||||
|
||||
INSERT INTO `config` (`name`, `value`, `secured`, `hidden`, `created_at`, `updated_at`) VALUES
|
||||
('information_folder_id', '', 0, 0, NOW(), NOW()),
|
||||
('terms_conditions_content_id', '', 0, 0, NOW(), NOW());
|
||||
|
||||
SELECT @max := MAX(`id`) FROM `config`;
|
||||
|
||||
INSERT INTO `config_i18n` (`id`, `locale`, `title`, `description`, `chapo`, `postscriptum`) VALUES
|
||||
(@max - 1, 'en_US', 'The ID of the folder containing your information pages : terms, imprint, ...', NULL, NULL, NULL),
|
||||
(@max, 'en_US', 'The ID of the ''Terms & Conditions'' content.', NULL, NULL, NULL),
|
||||
(@max - 1, 'fr_FR', 'L''ID du dossier contenant vos pages d''informations : CGV, mentions légales, ...', NULL, NULL, NULL),
|
||||
(@max, 'fr_FR', 'L''ID du contenu de vos ''CGV''.', NULL, NULL, NULL);
|
||||
|
||||
|
||||
# Add new column to order (version, version_created_at, version_created_by)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user