]> git.donarmstrong.com Git - infobot.git/blob - blootbot/setup/pgsql/rootwarn.sql
major re-organisation of the different SQL files; cleanup and fixing of the postgres...
[infobot.git] / blootbot / setup / pgsql / rootwarn.sql
1 CREATE TABLE rootwarn (
2     nick VARCHAR(20) NOT NULL,
3     attempt numeric,
4     "time" numeric NOT NULL,
5     host VARCHAR(80) NOT NULL,
6     channel VARCHAR(20) NOT NULL
7 ) WITHOUT OIDS;
8
9 REVOKE ALL ON TABLE rootwarn FROM PUBLIC;
10
11 ALTER TABLE ONLY rootwarn
12     ADD CONSTRAINT rootwarn_pkey PRIMARY KEY (nick);