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

Remove several columns. They are moved to another table 'compatibility'.

Remove string_index2, int_index2 and float_index2. They are not used.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1995 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent deb7cdb3
......@@ -18,28 +18,12 @@ CREATE TABLE `catalog` (
`path` varchar(255) NOT NULL default '',
`relative_url` varchar(255) NOT NULL default '',
`parent_uid` int(11) default '0',
`id` varchar(30) default '',
`CreationDate` datetime default '0000-00-00 00:00:00',
`Creator` varchar(30) default '',
`Date` datetime default '0000-00-00 00:00:00',
`Description` text,
`PrincipiaSearchSource` text,
`SearchableText` text,
`EffectiveDate` datetime default '0000-00-00 00:00:00',
`ExpiresDate` datetime default '0000-00-00 00:00:00',
`ModificationDate` datetime default '0000-00-00 00:00:00',
`Title` varchar(255) default '',
`Type` varchar(30) default '',
`bobobase_modification_time` datetime default '0000-00-00 00:00:00',
`created` datetime default '0000-00-00 00:00:00',
`effective` datetime default '0000-00-00 00:00:00',
`expires` datetime default '0000-00-00 00:00:00',
`getIcon` varchar(30) default '',
`id` varchar(30) default '',
`in_reply_to` varchar(255) default '',
`meta_type` varchar(255) default '',
`portal_type` varchar(255) default '',
`modified` datetime default '0000-00-00 00:00:00',
`review_state` varchar(30) default '',
`opportunity_state` varchar(30) default '',
`default_source_reference` varchar(30) default '',
`default_destination_reference` varchar(30) default '',
......@@ -61,13 +45,9 @@ CREATE TABLE `catalog` (
`reference` varchar(30) default '',
`source_reference` varchar(30) default '',
`destination_reference` varchar(30) default '',
`summary` text,
`string_index` varchar(30),
`int_index` int(11),
`float_index` real,
`string_index2` varchar(30),
`int_index2` int(11),
`float_index2` real,
PRIMARY KEY (`uid`),
KEY `security_uid` (`security_uid`),
KEY `Parent` (`parent_uid`),
......@@ -76,9 +56,6 @@ CREATE TABLE `catalog` (
KEY `Type` (`meta_type`,`portal_type`),
KEY `Type1` (`portal_type`),
KEY `Type2` (`meta_type`),
KEY `Type3` (`Type`),
KEY `Id` (`id`),
KEY `review_state` (`review_state`),
KEY `opportunity_state` (`opportunity_state`),
KEY `validation_state` (`validation_state`),
KEY `simulation_state` (`simulation_state`),
......
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