diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-12-27 13:28:14 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-12-27 13:28:14 +0000 |
| commit | ffce4b50729fa5ee0e11a666fb0ee4b76eebf342 (patch) | |
| tree | eaf9fe556248da6ca281ce8336f35d46bc45eb40 /create/mysql/schema.sql | |
| parent | e6d3bc1a6eae3d6847198856e7e7f57eb8a0c98b (diff) | |
| download | zabbix-ffce4b50729fa5ee0e11a666fb0ee4b76eebf342.tar.gz zabbix-ffce4b50729fa5ee0e11a666fb0ee4b76eebf342.tar.xz zabbix-ffce4b50729fa5ee0e11a666fb0ee4b76eebf342.zip | |
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2431 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/mysql/schema.sql')
| -rw-r--r-- | create/mysql/schema.sql | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/create/mysql/schema.sql b/create/mysql/schema.sql index c26074b8..00890a5d 100644 --- a/create/mysql/schema.sql +++ b/create/mysql/schema.sql @@ -212,13 +212,20 @@ CREATE TABLE actions ( repeatdelay int(4) DEFAULT '600' NOT NULL, source int(1) DEFAULT '0' NOT NULL, actiontype int(1) DEFAULT '0' NOT NULL, - filter_triggerid int(4) DEFAULT '0' NOT NULL, - filter_hostid int(4) DEFAULT '0' NOT NULL, - filter_groupid int(4) DEFAULT '0' NOT NULL, - filter_trigger_name varchar(255) DEFAULT '' NOT NULL, - filter_trigger_severity int(4) DEFAULT '0' NOT NULL, - PRIMARY KEY (actionid), - KEY (triggerid) + PRIMARY KEY (actionid) +) type=InnoDB; + +-- +-- Table structure for table 'conditions' +-- + +CREATE TABLE conditions ( + conditionid int(4) NOT NULL auto_increment, + actionid int(4) DEFAULT '0' NOT NULL, + conditiontype int(4) DEFAULT '0' NOT NULL, + operator int(1) DEFAULT '0' NOT NULL, + value varchar(255) DEFAULT '' NOT NULL, + PRIMARY KEY (conditionid) ) type=InnoDB; -- |
