summaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-04-07 15:02:28 +0000
committerDries Buytaert <dries@buytaert.net>2001-04-07 15:02:28 +0000
commit38806b4a39a6bdfc9d4a09f86b7bbaf0173c298d (patch)
treea445eab5750bd259731134cd31412305b55b8acb /database
parent8213f5b2627a6b63db9f84b572918bd7e3254dff (diff)
downloadbrdo-38806b4a39a6bdfc9d4a09f86b7bbaf0173c298d.tar.gz
brdo-38806b4a39a6bdfc9d4a09f86b7bbaf0173c298d.tar.bz2
- fixed bug in common.inc: throttle()
- streamlined method invocation in node.inc - added node_status() function to modules - added NEW (mostly static) page module - added NEW settings module
Diffstat (limited to 'database')
-rw-r--r--database/database.mysql9
1 files changed, 9 insertions, 0 deletions
diff --git a/database/database.mysql b/database/database.mysql
index 3ad1199ac..e2aed1caf 100644
--- a/database/database.mysql
+++ b/database/database.mysql
@@ -168,6 +168,15 @@ CREATE TABLE node (
PRIMARY KEY (nid)
);
+DROP TABLE IF EXISTS page;
+CREATE TABLE page (
+ lid int(10) unsigned DEFAULT '0' NOT NULL auto_increment,
+ nid int(10) unsigned DEFAULT '0' NOT NULL,
+ body text NOT NULL,
+ format tinyint(2) DEFAULT '0' NOT NULL,
+ PRIMARY KEY (lid)
+);
+
DROP TABLE IF EXISTS sections;
CREATE TABLE sections (
name varchar(64) DEFAULT '' NOT NULL,