Hi,
I get an error running:
| Code: |
alter table `jos_fb_messages`
add column `modified_by` int(7) NULL after `moved`,
add column `modified_time` int(11) NULL after `modified_by`,
add column `modified_reason` tinytext NULL after `modified_time`,
add KEY `hold_time`(`hold`,`time`),
drop key `id`,
add KEY `locked`(`locked`),
add KEY `time`(`time`), COMMENT='';
|
I get the following error message:
"ERROR 1091 (42000): Can't DROP 'id'; check that column/key exists"
I've traced this down to:
| Code: |
alter table jos_fb_messages
drop primary key(`id`);
|
Which results in the following error:
"ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it must be defined as a key"
Is it safe to ignore the "drop key `id`," line?
This would result in a table definition of:
| Code: |
mysql> describe jos_fb_messages;
+-----------------+-------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------------+-------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| parent | int(11) | YES | | 0 | |
| thread | int(11) | YES | | 0 | |
| catid | int(11) | NO | | 0 | |
| name | tinytext | YES | | NULL | |
| userid | int(11) | NO | | 0 | |
| email | tinytext | YES | | NULL | |
| subject | tinytext | YES | | NULL | |
| time | int(11) | NO | MUL | 0 | |
| ip | varchar(15) | YES | | NULL | |
| topic_emoticon | int(11) | NO | | 0 | |
| locked | tinyint(4) | NO | MUL | 0 | |
| hold | tinyint(4) | NO | MUL | 0 | |
| ordering | int(11) | YES | | 0 | |
| hits | int(11) | YES | | 0 | |
| moved | tinyint(4) | YES | | 0 | |
| modified_by | int(7) | YES | | NULL | |
| modified_time | int(11) | YES | | NULL | |
| modified_reason | tinytext | YES | | NULL | |
+-----------------+-------------+------+-----+---------+----------------+
|
Fireboard seems to work OK if I ignore this line, but thought I better check that this won't cause me problems later.
If it helps, we're running Joomla 1.0.13 and our forum history is:
Joomlaboard 1.1.3 -> Joomlaboard 1.1.4 -> Fireboard 1.0 release -> Fireboard 1.0.3 release
Thank you.