diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-04-07 20:00:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-04-07 20:00:21 +0000 |
commit | dae5c2208c936c82b07eea35ce95f0aba03f5413 (patch) | |
tree | ccd754c192de8699baff32966ebd704b3c8d2de4 /database | |
parent | d7e9ad10279746ca6ca36ce7bda2f293e7474b8d (diff) | |
download | brdo-dae5c2208c936c82b07eea35ce95f0aba03f5413.tar.gz brdo-dae5c2208c936c82b07eea35ce95f0aba03f5413.tar.bz2 |
- improved rating module: it now shows some basic statistics :-)
- updated database files
- removed affialiate-site and drupal-site module: maintain them
by hand through a box for now will you.
Diffstat (limited to 'database')
-rw-r--r-- | database/database.mysql | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/database/database.mysql b/database/database.mysql index e2aed1caf..89f3ac0f7 100644 --- a/database/database.mysql +++ b/database/database.mysql @@ -219,12 +219,20 @@ CREATE TABLE users ( history text NOT NULL, hash varchar(12) DEFAULT '' NOT NULL, timezone varchar(8), - rating decimal(8,4), + rating decimal(8,2), language char(2) DEFAULT '' NOT NULL, access varchar(255) DEFAULT '' NOT NULL, PRIMARY KEY (id) ); +DROP TABLE IF EXISTS rating; +CREATE TABLE rating ( + user int(6) DEFAULT '0' NOT NULL, + new int(6) DEFAULT '0' NOT NULL, + old int(6) DEFAULT '0' NOT NULL, + PRIMARY KEY (user) +); + DROP TABLE IF EXISTS variable; CREATE TABLE variable ( name varchar(32) DEFAULT '' NOT NULL, |