Commit 6c4eee2d authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use PRIMARY KEY instead of KEY for uid.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4256 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 48e5dbb0
......@@ -21,7 +21,7 @@ CREATE TABLE `delivery` (
`stop_date` datetime default NULL,
`stop_date_range_min` datetime default NULL,
`stop_date_range_max` datetime default NULL,
KEY `uid` (`uid`),
PRIMARY KEY (`uid`),
KEY `source_uid` (`source_uid`),
KEY `destination_uid` (`destination_uid`),
KEY `source_section_uid` (`source_section_uid`),
......
......@@ -16,5 +16,5 @@ CREATE TABLE predicate (
`start_date` datetime,
`start_date_range_min` datetime ,
`start_date_range_max` datetime ,
KEY `uid` (`uid`)
PRIMARY KEY `uid` (`uid`)
) TYPE=InnoDB;
......@@ -11,6 +11,6 @@ class_file:
CREATE TABLE subject (
uid BIGINT UNSIGNED NOT NULL,
subject VARCHAR(255),
KEY `uid` (`uid`),
PRIMARY KEY `uid` (`uid`),
KEY `allowedRolesAndUsers` (`Subject`)
) TYPE=InnoDB;
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