create tinymce module
This commit is contained in:
@@ -76,7 +76,8 @@ INSERT INTO `module` (`id`, `code`, `type`, `activate`, `position`, `full_namesp
|
||||
(1, 'TheliaDebugBar', 1, 1, 1, 'TheliaDebugBar\\TheliaDebugBar', NOW(), NOW()),
|
||||
(2, 'Colissimo', 2, 0, 1, 'Colissimo\\Colissimo', NOW(), NOW()),
|
||||
(3, 'Cheque', 3, 0, 1, 'Cheque\\Cheque', NOW(), NOW()),
|
||||
(4, 'Front', 1, 1, 2, 'Front\\Front', NOW(), NOW());
|
||||
(4, 'Front', 1, 1, 2, 'Front\\Front', NOW(), NOW())
|
||||
(5, 'Tinymce', 1, 0, 1, 'Tinymce\\Tinymce', NOW(), NOW());
|
||||
|
||||
INSERT INTO `module_i18n` (`id`, `locale`, `title`, `description`, `chapo`, `postscriptum`) VALUES
|
||||
('1', 'en_US', 'Debug bar', NULL, NULL, NULL),
|
||||
@@ -84,7 +85,9 @@ INSERT INTO `module_i18n` (`id`, `locale`, `title`, `description`, `chapo`, `po
|
||||
('2', 'en_US', '72h delivery', NULL, NULL, NULL),
|
||||
('2', 'fr_FR', 'Livraison par colissimo en 72h', NULL, NULL, NULL),
|
||||
('4', 'en_US', 'Front office integration', NULL, NULL, NULL),
|
||||
('4', 'fr_FR', 'Module Front office', NULL, NULL, NULL);
|
||||
('4', 'fr_FR', 'Module Front office', NULL, NULL, NULL)
|
||||
('5', 'en_US', 'tinymce wysiwyg editor', NULL, NULL, NULL),
|
||||
('5', 'fr_FR', 'éditeur wysiwyg tinymce', NULL, NULL, NULL);
|
||||
|
||||
|
||||
INSERT INTO `customer_title`(`id`, `by_default`, `position`, `created_at`, `updated_at`) VALUES
|
||||
|
||||
15
install/update/2.0.0-beta4.sql
Normal file
15
install/update/2.0.0-beta4.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
# This is a fix for InnoDB in MySQL >= 4.1.x
|
||||
# It "suspends judgement" for fkey relationships until are tables are set.
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
INSERT INTO `module` (`code`, `type`, `activate`, `position`, `full_namespace`, `created_at`, `updated_at`) VALUES
|
||||
( 'Tinymce', 1, 0, 1, 'Tinymce\\Tinymce', NOW(), NOW());
|
||||
|
||||
INSERT INTO `module_i18n` (`id`, `locale`, `title`, `description`, `chapo`, `postscriptum`) VALUES
|
||||
(LAST_INSERT_ID(), 'en_US', 'tinymce wysiwyg editor', NULL, NULL, NULL),
|
||||
(LAST_INSERT_ID(), 'fr_FR', 'éditeur wysiwyg tinymce', NULL, NULL, NULL);
|
||||
|
||||
UPDATE `config` SET `value`='2.0.0-beta4' WHERE `name`='thelia_version';
|
||||
UPDATE `config` SET `value`='beta4' WHERE `name`='thelia_extra_version';
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
Reference in New Issue
Block a user