From 3d0f6b3032abdb53fcf43790f8ee57ad5a323522 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 23 Jan 2001 22:14:29 +0000 Subject: - fixes table bug - add ienie-wiene of information --- database/database.mysql | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'database/database.mysql') diff --git a/database/database.mysql b/database/database.mysql index e11bf1e57..362b7dff6 100644 --- a/database/database.mysql +++ b/database/database.mysql @@ -8,19 +8,11 @@ CREATE TABLE affiliates ( PRIMARY KEY (id) ); -CREATE TABLE sections ( - name varchar(64) DEFAULT '' NOT NULL, - post tinyint(3) DEFAULT '0' NOT NULL, - dump tinyint(3) DEFAULT '0' NOT NULL, - timout tinyint(3) DEFAULT '0' NOT NULL, - status tinyint(2) DEFAULT '0' NOT NULL, - PRIMARY KEY (name) -); - CREATE TABLE blocks ( name varchar(64) DEFAULT '' NOT NULL, module varchar(64) DEFAULT '' NOT NULL, offset tinyint(2) DEFAULT '0' NOT NULL, + status tinyint(2) DEFAULT '0' NOT NULL, weight tinyint(1) DEFAULT '0' NOT NULL, region tinyint(1) DEFAULT '0' NOT NULL, PRIMARY KEY (name) @@ -120,6 +112,15 @@ CREATE TABLE modules ( PRIMARY KEY (name) ); +CREATE TABLE sections ( + name varchar(64) DEFAULT '' NOT NULL, + post tinyint(3) DEFAULT '0' NOT NULL, + dump tinyint(3) DEFAULT '0' NOT NULL, + timout tinyint(3) DEFAULT '0' NOT NULL, + status tinyint(2) DEFAULT '0' NOT NULL, + PRIMARY KEY (name) +); + CREATE TABLE stories ( id int(11) DEFAULT '0' NOT NULL auto_increment, author int(6) DEFAULT '0' NOT NULL, -- cgit v1.2.3