summaryrefslogtreecommitdiffstats
path: root/schema/postgresql/t/01-statehistory.sql
diff options
context:
space:
mode:
Diffstat (limited to 'schema/postgresql/t/01-statehistory.sql')
-rw-r--r--schema/postgresql/t/01-statehistory.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/schema/postgresql/t/01-statehistory.sql b/schema/postgresql/t/01-statehistory.sql
new file mode 100644
index 0000000..1a1a5e2
--- /dev/null
+++ b/schema/postgresql/t/01-statehistory.sql
@@ -0,0 +1,7 @@
+SELECT plan(0);
+CREATE TABLE icinga_statehistory (
+ state_time timestamp WITHOUT time zone,
+ object_id numeric DEFAULT '0'::numeric,
+ state smallint DEFAULT '0'::smallint,
+ state_type smallint DEFAULT '0'::smallint
+);