- Patch #31343 by Robert Douglas et al: fixed database table problem with forum table.

4.7.x
Dries Buytaert 2005-09-18 17:01:06 +00:00
parent dec4ddd3a5
commit 5486af9dfe
2 changed files with 4 additions and 0 deletions

View File

@ -294,8 +294,10 @@ CREATE TABLE flood (
CREATE TABLE forum (
nid int(10) unsigned NOT NULL default '0',
vid int(10) unsigned NOT NULL default '0',
tid int(10) unsigned NOT NULL default '0',
PRIMARY KEY (nid),
KEY vid (vid),
KEY tid (tid)
) TYPE=MyISAM;

View File

@ -291,11 +291,13 @@ CREATE TABLE flood (
CREATE TABLE forum (
nid integer NOT NULL default '0',
vid integer NOT NULL default '0',
tid integer NOT NULL default '0',
shadow integer NOT NULL default '0',
PRIMARY KEY (nid)
);
CREATE INDEX forum_tid_idx ON forum(tid);
CREATE INDEX forum_vid_idx ON forum(vid);
--
-- Table structure for history