diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-10-10 20:29:02 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-10-10 20:29:02 +0000 |
| commit | fb3ee196653fb0009d52f6051c162956e585139b (patch) | |
| tree | f2c163fa2f8cd680561eabd7080317ed1c2fa103 /create/postgresql/schema.sql | |
| parent | 167fb59d3fcd95e81337e6ba2ea1698887f1e4b1 (diff) | |
| download | zabbix-fb3ee196653fb0009d52f6051c162956e585139b.tar.gz zabbix-fb3ee196653fb0009d52f6051c162956e585139b.tar.xz zabbix-fb3ee196653fb0009d52f6051c162956e585139b.zip | |
- added columns alerts.[triggerid,repeats,maxrepeats,nextcheck] (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2164 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/postgresql/schema.sql')
| -rw-r--r-- | create/postgresql/schema.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql index ab44e29b..8e831872 100644 --- a/create/postgresql/schema.sql +++ b/create/postgresql/schema.sql @@ -240,6 +240,7 @@ CREATE TABLE media_type ( CREATE TABLE alerts ( alertid serial, actionid int4 DEFAULT '0' NOT NULL, + triggerid int4 DEFAULT '0' NOT NULL, clock int4 DEFAULT '0' NOT NULL, -- type varchar(10) DEFAULT '' NOT NULL, mediatypeid int4 DEFAULT '0' NOT NULL, @@ -251,6 +252,7 @@ CREATE TABLE alerts ( error varchar(128) DEFAULT '' NOT NULL, PRIMARY KEY (alertid), FOREIGN KEY (actionid) REFERENCES actions, + FOREIGN KEY (triggerid) REFERENCES triggers, FOREIGN KEY (mediatypeid) REFERENCES media_type ); |
