]> git.donarmstrong.com Git - infobot.git/blob - setup/pgsql/rootwarn.sql
avoid reassigning to temp upon decode_utf8
[infobot.git] / 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(30) 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);