Skip to content
Snippets Groups Projects
Commit 5486af9d authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent dec4ddd3
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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;
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment