diff options
author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-23 09:15:34 +0000 |
---|---|---|
committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-23 09:15:34 +0000 |
commit | decb419bee02ed3d72e246385d8066bfaf67d442 (patch) | |
tree | d508d4d22745bf38bec2fee03bd56671b15d53b2 /upgrades/dbpatches/1.3/postgresql/patch | |
parent | b596db70dfe109d3077e0bdaad421a9d86ab3ce7 (diff) | |
download | zabbix-decb419bee02ed3d72e246385d8066bfaf67d442.tar.gz zabbix-decb419bee02ed3d72e246385d8066bfaf67d442.tar.xz zabbix-decb419bee02ed3d72e246385d8066bfaf67d442.zip |
Added actions.name (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@3914 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'upgrades/dbpatches/1.3/postgresql/patch')
-rw-r--r-- | upgrades/dbpatches/1.3/postgresql/patch/actions.sql | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/upgrades/dbpatches/1.3/postgresql/patch/actions.sql b/upgrades/dbpatches/1.3/postgresql/patch/actions.sql index daefedc4..9f45bd08 100644 --- a/upgrades/dbpatches/1.3/postgresql/patch/actions.sql +++ b/upgrades/dbpatches/1.3/postgresql/patch/actions.sql @@ -1,5 +1,6 @@ CREATE TABLE actions_tmp ( actionid bigintd DEFAULT '0' NOT NULL, + name varchar(255) DEFAULT '' NOT NULL, eventsource integer DEFAULT '0' NOT NULL, evaltype integer DEFAULT '0' NOT NULL, status integer DEFAULT '0' NOT NULL, @@ -19,7 +20,7 @@ CREATE TABLE operations ( ); CREATE INDEX operations_1 on operations (actionid); -insert into actions_tmp select actionid,source,0,status from actions; +insert into actions_tmp select actionid,actionid,source,0,status from actions; insert into operations select actionid,actionid,actiontype,recipient,userid,subject,message,scripts from actions; update operations set longdata=scripts_tmp where operationtype=1; |