Add imports and exports on 2.0.3

modifié:         CHANGELOG.md
	modifié:         setup/update/2.0.3.sql
This commit is contained in:
Benjamin Perche
2014-08-01 14:50:16 +02:00
parent c1dd11575a
commit 373840240b
2 changed files with 86 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
- Update SwiftMailer - Update SwiftMailer
- Fix bugs on customer change password form and module "order by title" - Fix bugs on customer change password form and module "order by title"
- Add the ability to place a firewall on forms. To use this in a module, extend Thelia\Form\FirewallForm instead of BaseForm - Add the ability to place a firewall on forms. To use this in a module, extend Thelia\Form\FirewallForm instead of BaseForm
- Add Exports and Imports management
#2.0.2 #2.0.2
- Coupon UI has been redesigned. - Coupon UI has been redesigned.

View File

@@ -329,6 +329,91 @@ CREATE TABLE `form_firewall`
INDEX `idx_form_firewall_ip_address` (`ip_address`) INDEX `idx_form_firewall_ip_address` (`ip_address`)
) ENGINE=InnoDB; ) ENGINE=InnoDB;
-- ---------------------------------------------------------------------
-- import_category
-- ---------------------------------------------------------------------
DROP TABLE IF EXISTS `import_category`;
CREATE TABLE `import_category`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
`ref` VARCHAR(255) NOT NULL,
`position` INTEGER NOT NULL,
`created_at` DATETIME,
`updated_at` DATETIME,
PRIMARY KEY (`id`),
UNIQUE INDEX `ref_UNIQUE` (`ref`)
) ENGINE=InnoDB;
-- ---------------------------------------------------------------------
-- export_category
-- ---------------------------------------------------------------------
DROP TABLE IF EXISTS `export_category`;
CREATE TABLE `export_category`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
`ref` VARCHAR(255) NOT NULL,
`position` INTEGER NOT NULL,
`created_at` DATETIME,
`updated_at` DATETIME,
PRIMARY KEY (`id`),
UNIQUE INDEX `ref_UNIQUE` (`ref`)
) ENGINE=InnoDB;
-- ---------------------------------------------------------------------
-- import
-- ---------------------------------------------------------------------
DROP TABLE IF EXISTS `import`;
CREATE TABLE `import`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
`ref` VARCHAR(255) NOT NULL,
`import_category_id` INTEGER NOT NULL,
`position` INTEGER NOT NULL,
`handle_class` LONGTEXT NOT NULL,
`created_at` DATETIME,
`updated_at` DATETIME,
PRIMARY KEY (`id`),
UNIQUE INDEX `ref_UNIQUE` (`ref`),
INDEX `idx_import_import_category_id` (`import_category_id`),
CONSTRAINT `fk_import_import_category_id`
FOREIGN KEY (`import_category_id`)
REFERENCES `import_category` (`id`)
ON UPDATE RESTRICT
ON DELETE CASCADE
) ENGINE=InnoDB;
-- ---------------------------------------------------------------------
-- export
-- ---------------------------------------------------------------------
DROP TABLE IF EXISTS `export`;
CREATE TABLE `export`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
`ref` VARCHAR(255) NOT NULL,
`export_category_id` INTEGER NOT NULL,
`position` INTEGER NOT NULL,
`handle_class` LONGTEXT NOT NULL,
`created_at` DATETIME,
`updated_at` DATETIME,
PRIMARY KEY (`id`),
UNIQUE INDEX `ref_UNIQUE` (`ref`),
INDEX `idx_export_export_category_id` (`export_category_id`),
CONSTRAINT `fk_export_export_category_id`
FOREIGN KEY (`export_category_id`)
REFERENCES `export_category` (`id`)
ON UPDATE RESTRICT
ON DELETE CASCADE
) ENGINE=InnoDB;
INSERT INTO `config`(`name`, `value`, `secured`, `hidden`, `created_at`, `updated_at`) VALUES INSERT INTO `config`(`name`, `value`, `secured`, `hidden`, `created_at`, `updated_at`) VALUES
('form_firewall_bruteforce_time_to_wait', '10', 0, 0, NOW(), NOW()), ('form_firewall_bruteforce_time_to_wait', '10', 0, 0, NOW(), NOW()),