diff --git a/doc/create_tables.mysql b/doc/create_tables.mysql index 7652fa4489..42dcb8979c 100755 --- a/doc/create_tables.mysql +++ b/doc/create_tables.mysql @@ -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 +); + diff --git a/doc/create_tables.pgsql b/doc/create_tables.pgsql index 19ffba6215..d193c2fa23 100755 --- a/doc/create_tables.pgsql +++ b/doc/create_tables.pgsql @@ -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;