Skip to content

Commit

Permalink
A few schema updates (not finished from bug reports)
Browse files Browse the repository at this point in the history
  • Loading branch information
pudge committed Dec 17, 2001
1 parent ece7657 commit 93db80f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sql/mysql/slashschema_create.sql
Expand Up @@ -240,7 +240,6 @@ CREATE TABLE discussions (
FOREIGN KEY (uid) REFERENCES users(uid),
FOREIGN KEY (topic) REFERENCES topics(tid),
INDEX (type,uid,ts),
KEY (sid),
PRIMARY KEY (id)
) TYPE = myisam;

Expand Down Expand Up @@ -522,7 +521,7 @@ CREATE TABLE stories (
writestatus ENUM("ok","delete","dirty","archived") DEFAULT 'ok' NOT NULL,
PRIMARY KEY (sid),
FOREIGN KEY (uid) REFERENCES users(uid),
FOREIGN KEY (tid) REFERENCES tid(topic),
FOREIGN KEY (tid) REFERENCES topics(tid),
FOREIGN KEY (section) REFERENCES sections(section),
INDEX frontpage (time, displaystatus, writestatus),
INDEX time (time),
Expand Down

0 comments on commit 93db80f

Please sign in to comment.