All pastes #42073 Raw Edit

Something

public text v1 · immutable
#42073 ·published 2006-02-18 19:49 UTC
rendered paste body
CREATE TABLE channels (
    chanid integer NOT NULL,
    serverid integer DEFAULT 0 NOT NULL,
    channel character varying(64) NOT NULL,
    url text NOT NULL,
    notifywindow integer DEFAULT 24 NOT NULL,
    "cmdChar" character(1) NOT NULL
);

CREATE INDEX "serverChan" ON channels USING btree (serverid, channel);

ALTER TABLE ONLY channels
    ADD CONSTRAINT channels_pkey PRIMARY KEY (chanid);