Index: database/database.mysql
===================================================================
RCS file: /cvs/drupal/drupal/database/database.mysql,v
retrieving revision 1.200
diff -u -p -r1.200 database.mysql
--- database/database.mysql	27 Sep 2005 15:54:39 -0000	1.200
+++ database/database.mysql	9 Oct 2005 22:13:53 -0000
@@ -8,10 +8,10 @@
 --
 
 CREATE TABLE access (
-  aid tinyint(10) NOT NULL auto_increment,
-  mask varchar(255) NOT NULL default '',
-  type varchar(255) NOT NULL default '',
-  status tinyint(2) NOT NULL default '0',
+  aid tinyint(10) NOT NULL auto_increment COMMENT 'unique ID for each accesslog entry',
+  mask varchar(255) NOT NULL default '' COMMENT 'simply regular expression in MySQL style to match access requests',
+  type varchar(255) NOT NULL default '' COMMENT 'type of accessrule',
+  status tinyint(2) NOT NULL default '0' COMMENT 'access type: 0 = deny, 1 = allow',
   PRIMARY KEY (aid)
 ) TYPE=MyISAM;
 
@@ -20,15 +20,15 @@ CREATE TABLE access (
 --
 
 CREATE TABLE accesslog (
-  aid int(10) NOT NULL auto_increment,
-  sid varchar(32) NOT NULL default '',
-  title varchar(255) default NULL,
-  path varchar(255) default NULL,
-  url varchar(255) default NULL,
-  hostname varchar(128) default NULL,
-  uid int(10) unsigned default '0',
-  timer int(10) unsigned NOT NULL default '0',
-  timestamp int(11) unsigned NOT NULL default '0',
+  aid int(10) NOT NULL auto_increment COMMENT 'unique ID for each accesslog entry',
+  sid varchar(32) NOT NULL default '' COMMENT 'session ID of the visitor, @see sessions',
+  title varchar(255) default NULL COMMENT 'the title of the accessed page',
+  path varchar(255) default NULL COMMENT 'the local path of the accessed page',
+  url varchar(255) default NULL COMMENT 'the sent referrer',
+  hostname varchar(128) default NULL COMMENT 'the IP address of the connecting machine',
+  uid int(10) unsigned default '0' COMMENT 'the user ID, @see users',
+  timer int(10) unsigned NOT NULL default '0' COMMENT 'the time it took to generate the page, in microseconds',
+  timestamp int(11) unsigned NOT NULL default '0' COMMENT 'unix timestamp',
   KEY accesslog_timestamp (timestamp),
   PRIMARY KEY (aid)
 ) TYPE=MyISAM;
