summaryrefslogtreecommitdiffstats
path: root/upgrades/dbpatches/1.3/postgresql/patch/dhosts.sql
blob: f4a1c855e6763a41aa004d12776378b5b60f7316 (plain)
1
2
3
4
5
6
7
8
9
10
CREATE TABLE dhosts (
        dhostid         bigint DEFAULT '0'     NOT NULL,
        druleid         bigint DEFAULT '0'     NOT NULL,
        ip              varchar(15)             DEFAULT ''      NOT NULL,
        status          integer         DEFAULT '0'     NOT NULL,
        lastup          integer         DEFAULT '0'     NOT NULL,
        lastdown        integer         DEFAULT '0'     NOT NULL,
        eventsent       integer         DEFAULT '0'     NOT NULL,
        PRIMARY KEY (dhostid)
);