summaryrefslogtreecommitdiffstats
path: root/upgrades/dbpatches/1.3/postgresql/patch/dhosts.sql
diff options
context:
space:
mode:
Diffstat (limited to 'upgrades/dbpatches/1.3/postgresql/patch/dhosts.sql')
-rw-r--r--upgrades/dbpatches/1.3/postgresql/patch/dhosts.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/upgrades/dbpatches/1.3/postgresql/patch/dhosts.sql b/upgrades/dbpatches/1.3/postgresql/patch/dhosts.sql
new file mode 100644
index 00000000..37f3649e
--- /dev/null
+++ b/upgrades/dbpatches/1.3/postgresql/patch/dhosts.sql
@@ -0,0 +1,9 @@
+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,
+ PRIMARY KEY (dhostid)
+);