Commit 230cbc4e authored by Julien Muchembled's avatar Julien Muchembled

CREATE TABLE: 'TYPE=InnoDB' is deprecated in favor of 'ENGINE=InnoDB'

parent 7abf23f3
...@@ -92,7 +92,7 @@ CREATE TABLE `catalog` (\n ...@@ -92,7 +92,7 @@ CREATE TABLE `catalog` (\n
KEY `Path` (`path`),\n KEY `Path` (`path`),\n
KEY `relative_url` (`relative_url`),\n KEY `relative_url` (`relative_url`),\n
KEY `indexation_date` (`indexation_date`)\n KEY `indexation_date` (`indexation_date`)\n
) TYPE=InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
`category_strict_membership` tinyint(1) default \'0\',\n `category_strict_membership` tinyint(1) default \'0\',\n
PRIMARY KEY (`uid`, `category_uid`, `base_category_uid`, `category_strict_membership`),\n PRIMARY KEY (`uid`, `category_uid`, `base_category_uid`, `category_strict_membership`),\n
KEY `Membership` (`category_uid`,`base_category_uid`)\n KEY `Membership` (`category_uid`,`base_category_uid`)\n
) TYPE = InnoDB;</string> </value> ) ENGINE=InnoDB;</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
KEY `resource_uid` (`resource_uid`),\n KEY `resource_uid` (`resource_uid`),\n
KEY `source_reference` (`source_payment_reference`),\n KEY `source_reference` (`source_payment_reference`),\n
KEY `destination_payment_reference` (`destination_payment_reference`)\n KEY `destination_payment_reference` (`destination_payment_reference`)\n
) TYPE=InnoDB\n ) ENGINE=InnoDB\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -77,7 +77,7 @@ CREATE TABLE `item` (\n ...@@ -77,7 +77,7 @@ CREATE TABLE `item` (\n
KEY `variation_text` (`variation_text`),\n KEY `variation_text` (`variation_text`),\n
KEY `aggregate_simulation_state_date` (`aggregate_uid`,`simulation_state`,`date`),\n KEY `aggregate_simulation_state_date` (`aggregate_uid`,`simulation_state`,`date`),\n
KEY `node_simulation_state_date` (`node_uid`,`simulation_state`,`date`)\n KEY `node_simulation_state_date` (`node_uid`,`simulation_state`,`date`)\n
) TYPE=InnoDB;\n ) ENGINE=InnoDB;\n
\n \n
</string> </value> </string> </value>
</item> </item>
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
allowedRolesAndUsers VARCHAR(255) NOT NULL,\n allowedRolesAndUsers VARCHAR(255) NOT NULL,\n
KEY `uid` (`uid`),\n KEY `uid` (`uid`),\n
KEY `allowedRolesAndUsers` (`allowedRolesAndUsers`)\n KEY `allowedRolesAndUsers` (`allowedRolesAndUsers`)\n
) TYPE=InnoDB; \n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -88,7 +88,7 @@ CREATE TABLE `stock` (\n ...@@ -88,7 +88,7 @@ CREATE TABLE `stock` (\n
KEY `resource_payment_uid` (`resource_uid`, `payment_uid`),\n KEY `resource_payment_uid` (`resource_uid`, `payment_uid`),\n
KEY `resource_payment_state_date` (`resource_uid`, `payment_uid`, `simulation_state`, `date`),\n KEY `resource_payment_state_date` (`resource_uid`, `payment_uid`, `simulation_state`, `date`),\n
KEY `node_resource_variation_state_date` (`node_uid`, `resource_uid`, `variation_text`, `simulation_state`, `date`)\n KEY `node_resource_variation_state_date` (`node_uid`, `resource_uid`, `variation_text`, `simulation_state`, `date`)\n
) TYPE = InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
583 584
\ No newline at end of file \ No newline at end of file
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
PRIMARY KEY (`uid`),\n PRIMARY KEY (`uid`),\n
KEY `birthplace` (`birthplace_city`),\n KEY `birthplace` (`birthplace_city`),\n
KEY `birth_date` (`birth_date`)\n KEY `birth_date` (`birth_date`)\n
) TYPE=InnoDB\n ) ENGINE=InnoDB\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
`translated_validation_state_title` VARCHAR(255) DEFAULT \'\',\n `translated_validation_state_title` VARCHAR(255) DEFAULT \'\',\n
`modification_date` DATETIME,\n `modification_date` DATETIME,\n
PRIMARY KEY (`uid`)\n PRIMARY KEY (`uid`)\n
) TYPE=InnoDB\n ) ENGINE=InnoDB\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
34 35
\ No newline at end of file \ No newline at end of file
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
`creation_date_index` INT,\n `creation_date_index` INT,\n
PRIMARY KEY (`uid`),\n PRIMARY KEY (`uid`),\n
KEY `creation_date_index` (`creation_date_index`, `frequency_index`)\n KEY `creation_date_index` (`creation_date_index`, `frequency_index`)\n
) TYPE=InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
KEY `bcc_recipient` (`bcc_recipient`),\n KEY `bcc_recipient` (`bcc_recipient`),\n
KEY `validation_state` (`validation_state`),\n KEY `validation_state` (`validation_state`),\n
KEY `start_date` (`start_date`, `validation_state`)\n KEY `start_date` (`start_date`, `validation_state`)\n
) TYPE = InnoDB;</string> </value> ) ENGINE=InnoDB;</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
27 28
\ No newline at end of file \ No newline at end of file
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
`url_string` varchar(255),\n `url_string` varchar(255),\n
PRIMARY KEY `uid` (`uid`),\n PRIMARY KEY `uid` (`uid`),\n
KEY `url_string` (`url_string`)\n KEY `url_string` (`url_string`)\n
) TYPE = InnoDB;</string> </value> ) ENGINE=InnoDB;</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
28 29
\ No newline at end of file \ No newline at end of file
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
uid BIGINT UNSIGNED NOT NULL,\n uid BIGINT UNSIGNED NOT NULL,\n
outcome_description VARCHAR(255),\n outcome_description VARCHAR(255),\n
PRIMARY KEY `uid` (`uid`)\n PRIMARY KEY `uid` (`uid`)\n
) TYPE=InnoDB; \n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
21 22
\ No newline at end of file \ No newline at end of file
...@@ -60,7 +60,7 @@ CREATE TABLE `worklist_cache` (\n ...@@ -60,7 +60,7 @@ CREATE TABLE `worklist_cache` (\n
KEY `portal_simulation_owner` (`portal_type`, `simulation_state`, `viewable_owner`),\n KEY `portal_simulation_owner` (`portal_type`, `simulation_state`, `viewable_owner`),\n
KEY `portal_validation_security` (`portal_type`, `validation_state`, `security_uid`),\n KEY `portal_validation_security` (`portal_type`, `validation_state`, `security_uid`),\n
KEY `portal_validation_owner` (`portal_type`, `validation_state`, `viewable_owner`)\n KEY `portal_validation_owner` (`portal_type`, `validation_state`, `viewable_owner`)\n
) TYPE=InnoDB ) ENGINE=InnoDB
]]></string> </value> ]]></string> </value>
</item> </item>
......
37 38
\ No newline at end of file \ No newline at end of file
...@@ -34,4 +34,4 @@ CREATE TABLE `message` ( ...@@ -34,4 +34,4 @@ CREATE TABLE `message` (
KEY (`priority`), KEY (`priority`),
KEY (`tag`), KEY (`tag`),
KEY (`order_validation_text`) KEY (`order_validation_text`)
) TYPE = InnoDB ) ENGINE=InnoDB
...@@ -32,4 +32,4 @@ CREATE TABLE `message_queue` ( ...@@ -32,4 +32,4 @@ CREATE TABLE `message_queue` (
KEY `serialization_tag_processing_node` (`serialization_tag`, `processing_node`), KEY `serialization_tag_processing_node` (`serialization_tag`, `processing_node`),
KEY (`priority`), KEY (`priority`),
KEY (`tag`) KEY (`tag`)
) TYPE = InnoDB ) ENGINE=InnoDB
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
`id_group` VARBINARY(255),\n `id_group` VARBINARY(255),\n
`last_id` BIGINT UNSIGNED,\n `last_id` BIGINT UNSIGNED,\n
PRIMARY KEY (`id_group`)\n PRIMARY KEY (`id_group`)\n
) TYPE=InnoDB;</string> </value> ) ENGINE=InnoDB;</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -64,7 +64,7 @@ CREATE TABLE `portal_ids` (\n ...@@ -64,7 +64,7 @@ CREATE TABLE `portal_ids` (\n
`id_group` VARBINARY(255),\n `id_group` VARBINARY(255),\n
`last_id` BIGINT UNSIGNED,\n `last_id` BIGINT UNSIGNED,\n
PRIMARY KEY (`id_group`)\n PRIMARY KEY (`id_group`)\n
) TYPE=InnoDB\n ) ENGINE=InnoDB\n
<dtml-var sql_delimiter>\n <dtml-var sql_delimiter>\n
<dtml-in expr="getPortalObject().portal_ids.getDictLengthIdsItems()">\n <dtml-in expr="getPortalObject().portal_ids.getDictLengthIdsItems()">\n
INSERT INTO `portal_ids` (`id_group`, `last_id`) VALUES (<dtml-sqlvar sequence-key type="string">, <dtml-sqlvar sequence-item type="int">)\n INSERT INTO `portal_ids` (`id_group`, `last_id`) VALUES (<dtml-sqlvar sequence-key type="string">, <dtml-sqlvar sequence-item type="int">)\n
......
...@@ -66,7 +66,7 @@ CREATE TABLE `alarm` (\n ...@@ -66,7 +66,7 @@ CREATE TABLE `alarm` (\n
`uid` BIGINT UNSIGNED NOT NULL,\n `uid` BIGINT UNSIGNED NOT NULL,\n
`alarm_date` DATETIME,\n `alarm_date` DATETIME,\n
PRIMARY KEY (`uid`)\n PRIMARY KEY (`uid`)\n
) TYPE=InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -113,7 +113,7 @@ CREATE TABLE `catalog` (\n ...@@ -113,7 +113,7 @@ CREATE TABLE `catalog` (\n
KEY `invoice_state` (`invoice_state`),\n KEY `invoice_state` (`invoice_state`),\n
KEY `payment_state` (`payment_state`),\n KEY `payment_state` (`payment_state`),\n
KEY `event_state` (`event_state`)\n KEY `event_state` (`event_state`)\n
) TYPE=InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -63,7 +63,7 @@ CREATE TABLE `category` (\n ...@@ -63,7 +63,7 @@ CREATE TABLE `category` (\n
`category_strict_membership` tinyint(1) default \'0\',\n `category_strict_membership` tinyint(1) default \'0\',\n
PRIMARY KEY (`uid`, `category_uid`, `base_category_uid`, `category_strict_membership`),\n PRIMARY KEY (`uid`, `category_uid`, `base_category_uid`, `category_strict_membership`),\n
KEY `Membership` (`category_uid`,`base_category_uid`)\n KEY `Membership` (`category_uid`,`base_category_uid`)\n
) TYPE = InnoDB;</string> </value> ) ENGINE=InnoDB;</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
KEY `destination_section_uid` (`destination_section_uid`),\n KEY `destination_section_uid` (`destination_section_uid`),\n
KEY `resource_uid` (`resource_uid`),\n KEY `resource_uid` (`resource_uid`),\n
KEY `start_date` (`start_date`)\n KEY `start_date` (`start_date`)\n
) TYPE=InnoDB\n ) ENGINE=InnoDB\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
KEY `resource_node_uid` (`resource_uid`, `node_uid`),\n KEY `resource_node_uid` (`resource_uid`, `node_uid`),\n
KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`),\n KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`),\n
KEY `date` (`date`)\n KEY `date` (`date`)\n
) TYPE = InnoDB\n ) ENGINE=InnoDB\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -72,7 +72,7 @@ CREATE TABLE `item` (\n ...@@ -72,7 +72,7 @@ CREATE TABLE `item` (\n
KEY `variation_text` (`variation_text`),\n KEY `variation_text` (`variation_text`),\n
KEY `aggregate_simulation_state_date` (`aggregate_uid`,`simulation_state`,`date`),\n KEY `aggregate_simulation_state_date` (`aggregate_uid`,`simulation_state`,`date`),\n
KEY `node_simulation_state_date` (`node_uid`,`simulation_state`,`date`)\n KEY `node_simulation_state_date` (`node_uid`,`simulation_state`,`date`)\n
) TYPE=InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
`quantity` REAL NOT NULL,\n `quantity` REAL NOT NULL,\n
PRIMARY KEY (`uid`, `variation`),\n PRIMARY KEY (`uid`, `variation`),\n
KEY (`metric_type_uid`)\n KEY (`metric_type_uid`)\n
) TYPE=InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -76,7 +76,7 @@ CREATE TABLE `movement` (\n ...@@ -76,7 +76,7 @@ CREATE TABLE `movement` (\n
KEY `resource_uid` (`resource_uid`),\n KEY `resource_uid` (`resource_uid`),\n
KEY `is_accountable` (`is_accountable`),\n KEY `is_accountable` (`is_accountable`),\n
KEY `variation_text` (`variation_text`)\n KEY `variation_text` (`variation_text`)\n
) TYPE=InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
`start_date_range_min` datetime ,\n `start_date_range_min` datetime ,\n
`start_date_range_max` datetime ,\n `start_date_range_max` datetime ,\n
PRIMARY KEY `uid` (`uid`)\n PRIMARY KEY `uid` (`uid`)\n
) TYPE=InnoDB; \n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -65,7 +65,7 @@ CREATE TABLE `predicate_category` (\n ...@@ -65,7 +65,7 @@ CREATE TABLE `predicate_category` (\n
KEY `category_strict_membership` (`category_strict_membership`),\n KEY `category_strict_membership` (`category_strict_membership`),\n
KEY `Membership` (`category_uid`,`base_category_uid`),\n KEY `Membership` (`category_uid`,`base_category_uid`),\n
KEY `FuzzyMembership` (`category_uid`)\n KEY `FuzzyMembership` (`category_uid`)\n
) TYPE = InnoDB; \n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
`quantity` REAL NOT NULL,\n `quantity` REAL NOT NULL,\n
PRIMARY KEY (`resource_uid`, `quantity_unit_uid`),\n PRIMARY KEY (`resource_uid`, `quantity_unit_uid`),\n
KEY (`uid`)\n KEY (`uid`)\n
) TYPE=InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -65,7 +65,7 @@ CREATE TABLE `record` (\n ...@@ -65,7 +65,7 @@ CREATE TABLE `record` (\n
PRIMARY KEY (`uid`),\n PRIMARY KEY (`uid`),\n
KEY `played` (`played`),\n KEY `played` (`played`),\n
KEY `date` (`date`)\n KEY `date` (`date`)\n
) TYPE=InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
allowedRolesAndUsers VARCHAR(255),\n allowedRolesAndUsers VARCHAR(255),\n
KEY `uid` (`uid`),\n KEY `uid` (`uid`),\n
KEY `allowedRolesAndUsers` (`allowedRolesAndUsers`)\n KEY `allowedRolesAndUsers` (`allowedRolesAndUsers`)\n
) TYPE=InnoDB; \n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -90,7 +90,7 @@ CREATE TABLE `stock` (\n ...@@ -90,7 +90,7 @@ CREATE TABLE `stock` (\n
KEY `resource_node_uid` (`resource_uid`, `node_uid`),\n KEY `resource_node_uid` (`resource_uid`, `node_uid`),\n
KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`),\n KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`),\n
KEY `date` (`date`)\n KEY `date` (`date`)\n
) TYPE = InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
subject VARCHAR(255),\n subject VARCHAR(255),\n
KEY `subject_set_uid` (`subject_set_uid`),\n KEY `subject_set_uid` (`subject_set_uid`),\n
KEY `subject` (`subject`)\n KEY `subject` (`subject`)\n
) TYPE=InnoDB; \n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
KEY `message` (`translated_message`),\n KEY `message` (`translated_message`),\n
KEY `original_message` (`original_message`),\n KEY `original_message` (`original_message`),\n
KEY `portal_type` (`portal_type`)\n KEY `portal_type` (`portal_type`)\n
) TYPE=InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
KEY `effective_date` (`effective_date`),\n KEY `effective_date` (`effective_date`),\n
KEY `expiration_date` (`effective_date`),\n KEY `expiration_date` (`effective_date`),\n
KEY `frequency_index` (`creation_date_index`, `frequency_index`)\n KEY `frequency_index` (`creation_date_index`, `frequency_index`)\n
) TYPE=InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
220 221
\ No newline at end of file \ No newline at end of file
...@@ -21,4 +21,4 @@ CREATE TABLE `record` ( ...@@ -21,4 +21,4 @@ CREATE TABLE `record` (
PRIMARY KEY (`uid`), PRIMARY KEY (`uid`),
KEY `played` (`played`), KEY `played` (`played`),
KEY `date` (`date`) KEY `date` (`date`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
...@@ -13,4 +13,4 @@ CREATE TABLE local_users_with_roles ( ...@@ -13,4 +13,4 @@ CREATE TABLE local_users_with_roles (
localUsersWithRoles VARCHAR(40), localUsersWithRoles VARCHAR(40),
KEY `uid` (`uid`), KEY `uid` (`uid`),
KEY `localUsersWithRoles` (`localUsersWithRoles`) KEY `localUsersWithRoles` (`localUsersWithRoles`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
...@@ -58,4 +58,4 @@ CREATE TABLE `catalog` ( ...@@ -58,4 +58,4 @@ CREATE TABLE `catalog` (
KEY `invoice_state` (`invoice_state`), KEY `invoice_state` (`invoice_state`),
KEY `payment_state` (`payment_state`), KEY `payment_state` (`payment_state`),
KEY `event_state` (`event_state`) KEY `event_state` (`event_state`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
...@@ -21,4 +21,4 @@ CREATE TABLE `category` ( ...@@ -21,4 +21,4 @@ CREATE TABLE `category` (
KEY `category_strict_membership` (`category_strict_membership`), KEY `category_strict_membership` (`category_strict_membership`),
KEY `Membership` (`category_uid`,`base_category_uid`), KEY `Membership` (`category_uid`,`base_category_uid`),
KEY `FuzzyMembership` (`category_uid`) KEY `FuzzyMembership` (`category_uid`)
) TYPE = InnoDB; ) ENGINE=InnoDB;
...@@ -35,4 +35,4 @@ CREATE TABLE `compatibility` ( ...@@ -35,4 +35,4 @@ CREATE TABLE `compatibility` (
PRIMARY KEY (`uid`), PRIMARY KEY (`uid`),
KEY `Type` (`Type`), KEY `Type` (`Type`),
KEY `review_state` (`review_state`) KEY `review_state` (`review_state`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
...@@ -27,4 +27,4 @@ CREATE TABLE `delivery` ( ...@@ -27,4 +27,4 @@ CREATE TABLE `delivery` (
KEY `source_section_uid` (`source_section_uid`), KEY `source_section_uid` (`source_section_uid`),
KEY `destination_section_uid` (`destination_section_uid`), KEY `destination_section_uid` (`destination_section_uid`),
KEY `resource_uid` (`resource_uid`) KEY `resource_uid` (`resource_uid`)
) TYPE=InnoDB ) ENGINE=InnoDB
...@@ -25,5 +25,5 @@ CREATE TABLE `item` ( ...@@ -25,5 +25,5 @@ CREATE TABLE `item` (
KEY `section_uid` (`section_uid`), KEY `section_uid` (`section_uid`),
KEY `resource_uid` (`resource_uid`), KEY `resource_uid` (`resource_uid`),
KEY `variation_text` (`variation_text`) KEY `variation_text` (`variation_text`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
...@@ -36,4 +36,4 @@ CREATE TABLE `movement` ( ...@@ -36,4 +36,4 @@ CREATE TABLE `movement` (
KEY `is_orderable` (`is_orderable`), KEY `is_orderable` (`is_orderable`),
KEY `is_deliverable` (`is_deliverable`), KEY `is_deliverable` (`is_deliverable`),
KEY `variation_text` (`variation_text`) KEY `variation_text` (`variation_text`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
...@@ -17,4 +17,4 @@ CREATE TABLE predicate ( ...@@ -17,4 +17,4 @@ CREATE TABLE predicate (
`start_date_range_min` datetime , `start_date_range_min` datetime ,
`start_date_range_max` datetime , `start_date_range_max` datetime ,
PRIMARY KEY `uid` (`uid`) PRIMARY KEY `uid` (`uid`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
...@@ -21,4 +21,4 @@ CREATE TABLE `predicate_category` ( ...@@ -21,4 +21,4 @@ CREATE TABLE `predicate_category` (
KEY `category_strict_membership` (`category_strict_membership`), KEY `category_strict_membership` (`category_strict_membership`),
KEY `Membership` (`category_uid`,`base_category_uid`), KEY `Membership` (`category_uid`,`base_category_uid`),
KEY `FuzzyMembership` (`category_uid`) KEY `FuzzyMembership` (`category_uid`)
) TYPE = InnoDB; ) ENGINE=InnoDB;
...@@ -13,4 +13,4 @@ CREATE TABLE roles_and_users ( ...@@ -13,4 +13,4 @@ CREATE TABLE roles_and_users (
allowedRolesAndUsers VARCHAR(255), allowedRolesAndUsers VARCHAR(255),
KEY `uid` (`uid`), KEY `uid` (`uid`),
KEY `allowedRolesAndUsers` (`allowedRolesAndUsers`) KEY `allowedRolesAndUsers` (`allowedRolesAndUsers`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
...@@ -42,4 +42,4 @@ CREATE TABLE `stock` ( ...@@ -42,4 +42,4 @@ CREATE TABLE `stock` (
KEY `simulation_state` (`simulation_state`), KEY `simulation_state` (`simulation_state`),
KEY `resource_node_uid` (`resource_uid`, `node_uid`), KEY `resource_node_uid` (`resource_uid`, `node_uid`),
KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`) KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`)
) TYPE = InnoDB; ) ENGINE=InnoDB;
...@@ -13,4 +13,4 @@ CREATE TABLE subject ( ...@@ -13,4 +13,4 @@ CREATE TABLE subject (
subject VARCHAR(255), subject VARCHAR(255),
PRIMARY KEY `uid` (`uid`), PRIMARY KEY `uid` (`uid`),
KEY `allowedRolesAndUsers` (`Subject`) KEY `allowedRolesAndUsers` (`Subject`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
...@@ -15,4 +15,4 @@ CREATE TABLE translation ( ...@@ -15,4 +15,4 @@ CREATE TABLE translation (
translated_message VARCHAR(255), translated_message VARCHAR(255),
KEY `message` (`translated_message`), KEY `message` (`translated_message`),
KEY `original_message` (`original_message`) KEY `original_message` (`original_message`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
...@@ -1702,7 +1702,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor): ...@@ -1702,7 +1702,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
`uid` BIGINT UNSIGNED NOT NULL, `uid` BIGINT UNSIGNED NOT NULL,
`dummy_title` varchar(32) NOT NULL default '', `dummy_title` varchar(32) NOT NULL default '',
PRIMARY KEY (`uid`) PRIMARY KEY (`uid`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
""" """
drop_summy_table_sql = """ drop_summy_table_sql = """
DROP TABLE IF EXISTS `dummy` DROP TABLE IF EXISTS `dummy`
...@@ -2706,7 +2706,7 @@ CREATE TABLE `%s` ( ...@@ -2706,7 +2706,7 @@ CREATE TABLE `%s` (
`owner_reference` varchar(32) NOT NULL default '', `owner_reference` varchar(32) NOT NULL default '',
PRIMARY KEY (`uid`), PRIMARY KEY (`uid`),
KEY `version` (`owner_reference`) KEY `version` (`owner_reference`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
""" % local_roles_table """ % local_roles_table
sql_catalog.manage_addProduct['ZSQLMethods'].manage_addZSQLMethod( sql_catalog.manage_addProduct['ZSQLMethods'].manage_addZSQLMethod(
id = 'z_create_%s' % local_roles_table, id = 'z_create_%s' % local_roles_table,
...@@ -2899,7 +2899,7 @@ CREATE TABLE `%s` ( ...@@ -2899,7 +2899,7 @@ CREATE TABLE `%s` (
PRIMARY KEY (`uid`), PRIMARY KEY (`uid`),
KEY `assignee_reference` (`assignee_reference`), KEY `assignee_reference` (`assignee_reference`),
KEY `viewable_assignee_reference` (`viewable_assignee_reference`) KEY `viewable_assignee_reference` (`viewable_assignee_reference`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
""" % local_roles_table """ % local_roles_table
sql_catalog.manage_addProduct['ZSQLMethods'].manage_addZSQLMethod( sql_catalog.manage_addProduct['ZSQLMethods'].manage_addZSQLMethod(
id = 'z_create_%s' % local_roles_table, id = 'z_create_%s' % local_roles_table,
...@@ -3063,7 +3063,7 @@ CREATE TABLE `%s` ( ...@@ -3063,7 +3063,7 @@ CREATE TABLE `%s` (
PRIMARY KEY (`uid`), PRIMARY KEY (`uid`),
KEY `assignee_reference` (`assignee_reference`), KEY `assignee_reference` (`assignee_reference`),
KEY `viewable_assignee_reference` (`viewable_assignee_reference`) KEY `viewable_assignee_reference` (`viewable_assignee_reference`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
""" % local_roles_table """ % local_roles_table
sql_catalog.manage_addProduct['ZSQLMethods'].manage_addZSQLMethod( sql_catalog.manage_addProduct['ZSQLMethods'].manage_addZSQLMethod(
id = 'z_create_%s' % local_roles_table, id = 'z_create_%s' % local_roles_table,
...@@ -3319,7 +3319,7 @@ CREATE TABLE `%s` ( ...@@ -3319,7 +3319,7 @@ CREATE TABLE `%s` (
`viewable_assignee_reference` varchar(32) NOT NULL default '', `viewable_assignee_reference` varchar(32) NOT NULL default '',
PRIMARY KEY (`uid`), PRIMARY KEY (`uid`),
KEY `viewable_assignee_reference` (`viewable_assignee_reference`) KEY `viewable_assignee_reference` (`viewable_assignee_reference`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
""" % local_roles_table """ % local_roles_table
sql_catalog.manage_addProduct['ZSQLMethods'].manage_addZSQLMethod( sql_catalog.manage_addProduct['ZSQLMethods'].manage_addZSQLMethod(
id = 'z_create_%s' % local_roles_table, id = 'z_create_%s' % local_roles_table,
...@@ -3549,7 +3549,7 @@ CREATE TABLE `%s` ( ...@@ -3549,7 +3549,7 @@ CREATE TABLE `%s` (
`viewable_assignee_reference` varchar(32) NOT NULL default '', `viewable_assignee_reference` varchar(32) NOT NULL default '',
PRIMARY KEY (`uid`), PRIMARY KEY (`uid`),
KEY `viewable_assignee_reference` (`viewable_assignee_reference`) KEY `viewable_assignee_reference` (`viewable_assignee_reference`)
) TYPE=InnoDB; ) ENGINE=InnoDB;
""" % local_roles_table """ % local_roles_table
sql_catalog.manage_addProduct['ZSQLMethods'].manage_addZSQLMethod( sql_catalog.manage_addProduct['ZSQLMethods'].manage_addZSQLMethod(
id = 'z_create_%s' % local_roles_table, id = 'z_create_%s' % local_roles_table,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment