]> git.donarmstrong.com Git - infobot.git/blob - setup/factoids.sql
major re-organisation of the different SQL files; cleanup and fixing of the postgres...
[infobot.git] / setup / factoids.sql
1 CREATE TABLE factoids (
2  factoid_key VARCHAR(64) NOT NULL,
3  requested_by VARCHAR(64) NOT NULL DEFAULT 'nobody',
4  requested_time INT NOT NULL DEFAULT '0',
5  requested_count SMALLINT UNSIGNED NOT NULL DEFAULT '0',
6  created_by VARCHAR(64),
7  created_time INT NOT NULL DEFAULT '0',
8  modified_by VARCHAR(192),
9  modified_time INT NOT NULL DEFAULT '0',
10  locked_by VARCHAR(64),
11  locked_time INT NOT NULL DEFAULT '0',
12  factoid_value TEXT NOT NULL,
13  PRIMARY KEY (factoid_key)
14 );