Merged the NNTP tables into the main create_tables.*

This commit is contained in:
jengo 2000-09-06 22:48:47 +00:00
parent 4a31ad9f48
commit 9f00336800
2 changed files with 30 additions and 0 deletions

View File

@ -168,3 +168,19 @@ create table webcal_entry_groups (
groups varchar(255)
);
CREATE TABLE newsgroups (
con int(11) NOT NULL auto_increment,
name varchar(255) NOT NULL,
messagecount int(11) NOT NULL,
lastmessage int(11) NOT NULL,
active char DEFAULT 'N' NOT NULL,
lastread int(11),
PRIMARY KEY (con),
UNIQUE name (name)
);
CREATE TABLE users_newsgroups (
owner int(11) NOT NULL,
newsgroup int(11) NOT NULL
);

View File

@ -161,4 +161,18 @@ create table webcal_entry_groups (
groups varchar(255)
);
CREATE TABLE newsgroups (
con serial,
name varchar(255) NOT NULL,
messagecount int NOT NULL,
lastmessage int NOT NULL,
active char DEFAULT 'N' NOT NULL,
lastread int
);
CREATE TABLE users_newsgroups (
owner int NOT NULL,
newsgroup int NOT NULL
);
COMMIT;