summaryrefslogtreecommitdiffstats
path: root/create/postgresql/schema.sql
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-25 16:02:17 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-25 16:02:17 +0000
commit60acf9d39e2337ffe440ab1f24cddd6a2fc24577 (patch)
tree96cfe461c9e3dcbb4d64c81e1c55907a657eaaa4 /create/postgresql/schema.sql
parente7ccbc31312988e1bd4c300419f4d2b7882819b2 (diff)
downloadzabbix-60acf9d39e2337ffe440ab1f24cddd6a2fc24577.tar.gz
zabbix-60acf9d39e2337ffe440ab1f24cddd6a2fc24577.tar.xz
zabbix-60acf9d39e2337ffe440ab1f24cddd6a2fc24577.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2910 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/postgresql/schema.sql')
-rw-r--r--create/postgresql/schema.sql14
1 files changed, 14 insertions, 0 deletions
diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql
index 18ce5039..8928549e 100644
--- a/create/postgresql/schema.sql
+++ b/create/postgresql/schema.sql
@@ -724,6 +724,20 @@ CREATE TABLE history_log (
CREATE INDEX history_log_i_c on history_str (itemid, clock);
--
+-- Table structure for table 'history_text'
+--
+
+CREATE TABLE history_text (
+ itemid int4 DEFAULT '0' NOT NULL,
+ clock int4 DEFAULT '0' NOT NULL,
+ value text DEFAULT '' NOT NULL,
+ KEY itemidclock (itemid, clock)
+);
+
+CREATE INDEX history_text_i_c on history_text (itemid, clock);
+
+
+--
-- Table structure for table 'autoreg'
--