diff --git a/Config/module.xml b/Config/module.xml
index be729d2..f1c8ad2 100644
--- a/Config/module.xml
+++ b/Config/module.xml
@@ -16,7 +16,7 @@
en_US
fr_FR
- 1.3.2
+ 1.3.3
Gilles Bourgeat
gilles.bourgeat@gmail.com
diff --git a/Config/schema.xml b/Config/schema.xml
index c795d97..fdfc6b2 100644
--- a/Config/schema.xml
+++ b/Config/schema.xml
@@ -59,7 +59,7 @@
-
+
diff --git a/Config/sqldb.map b/Config/sqldb.map
new file mode 100644
index 0000000..63a93ba
--- /dev/null
+++ b/Config/sqldb.map
@@ -0,0 +1,2 @@
+# Sqlfile -> Database map
+thelia.sql=thelia
diff --git a/Config/thelia.sql b/Config/thelia.sql
index bf0a1ce..f563251 100644
--- a/Config/thelia.sql
+++ b/Config/thelia.sql
@@ -43,7 +43,7 @@ CREATE TABLE `attribute_attribute_type`
`attribute_type_id` INTEGER NOT NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `attribute_attribute_type_unique` (`attribute_id`, `attribute_type_id`),
- INDEX `FI_attribute_attribute_type_attribute_type_id` (`attribute_type_id`),
+ INDEX `fi_attribute_attribute_type_attribute_type_id` (`attribute_type_id`),
CONSTRAINT `fk_attribute_attribute_type_attribute_id`
FOREIGN KEY (`attribute_id`)
REFERENCES `attribute` (`id`)
@@ -68,12 +68,12 @@ CREATE TABLE `attribute_type_av_meta`
`attribute_av_id` INTEGER NOT NULL,
`attribute_attribute_type_id` INTEGER NOT NULL,
`locale` VARCHAR(5) DEFAULT 'en_US' NOT NULL,
- `value` VARCHAR(255),
+ `value` LONGTEXT,
`created_at` DATETIME,
`updated_at` DATETIME,
PRIMARY KEY (`id`),
UNIQUE INDEX `attribute_type_av_meta_unique` (`attribute_av_id`, `attribute_attribute_type_id`, `locale`),
- INDEX `FI_attribute_av_meta_attribute_attribute_type_id` (`attribute_attribute_type_id`),
+ INDEX `fi_attribute_av_meta_attribute_attribute_type_id` (`attribute_attribute_type_id`),
CONSTRAINT `fk_attribute_av_meta_attribute_av_id`
FOREIGN KEY (`attribute_av_id`)
REFERENCES `attribute_av` (`id`)
@@ -97,7 +97,7 @@ CREATE TABLE `attribute_type_i18n`
`title` VARCHAR(255),
`description` LONGTEXT,
PRIMARY KEY (`id`,`locale`),
- CONSTRAINT `attribute_type_i18n_FK_1`
+ CONSTRAINT `attribute_type_i18n_fk_3cf0df`
FOREIGN KEY (`id`)
REFERENCES `attribute_type` (`id`)
ON DELETE CASCADE
diff --git a/Config/update/1.3.3.sql b/Config/update/1.3.3.sql
new file mode 100644
index 0000000..238421d
--- /dev/null
+++ b/Config/update/1.3.3.sql
@@ -0,0 +1 @@
+ALTER TABLE attribute_type_av_meta MODIFY COLUMN `value` LONGTEXT;