Commit 0617b07b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

2007-02-29 kazuhiko

* index_name is not allowed for PRIMARY KEY.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19583 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a2ab5013
...@@ -100,7 +100,7 @@ CREATE TABLE `predicate_category` (\n ...@@ -100,7 +100,7 @@ CREATE TABLE `predicate_category` (\n
`category_uid` BIGINT UNSIGNED default \'0\',\n `category_uid` BIGINT UNSIGNED default \'0\',\n
`base_category_uid` BIGINT UNSIGNED default \'0\',\n `base_category_uid` BIGINT UNSIGNED default \'0\',\n
`category_strict_membership` tinyint(1) default \'0\',\n `category_strict_membership` tinyint(1) default \'0\',\n
PRIMARY KEY `uid` (`uid`, `category_uid`, `base_category_uid`, `category_strict_membership`),\n PRIMARY KEY (`uid`, `category_uid`, `base_category_uid`, `category_strict_membership`),\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
...@@ -148,7 +148,7 @@ CREATE TABLE `predicate_category` (\n ...@@ -148,7 +148,7 @@ CREATE TABLE `predicate_category` (\n
`category_uid` BIGINT UNSIGNED default \'0\',\n `category_uid` BIGINT UNSIGNED default \'0\',\n
`base_category_uid` BIGINT UNSIGNED default \'0\',\n `base_category_uid` BIGINT UNSIGNED default \'0\',\n
`category_strict_membership` tinyint(1) default \'0\',\n `category_strict_membership` tinyint(1) default \'0\',\n
PRIMARY KEY `uid` (`uid`, `category_uid`, `base_category_uid`, `category_strict_membership`),\n PRIMARY KEY (`uid`, `category_uid`, `base_category_uid`, `category_strict_membership`),\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
......
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