summaryrefslogtreecommitdiffstats
path: root/upgrades/dbpatches/1.3/postgresql/patch/alerts.sql
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-06 14:26:40 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-06 14:26:40 +0000
commitfa076fa0fb007a382ab291a16a6645d4fb9e583c (patch)
treea5d4e8e48eada0bab9e8ca9f9d2b20e42e28a771 /upgrades/dbpatches/1.3/postgresql/patch/alerts.sql
parent29886f1d60fee7549a43cb8716a9e03e7273955a (diff)
downloadzabbix-fa076fa0fb007a382ab291a16a6645d4fb9e583c.tar.gz
zabbix-fa076fa0fb007a382ab291a16a6645d4fb9e583c.tar.xz
zabbix-fa076fa0fb007a382ab291a16a6645d4fb9e583c.zip
- removed support of action repeats (Alexei)
- fixed upgrade of rights,sysmaps,sysmaps_elements (Alexei) - fixed initial creation of user rights in data.sql (Alexei) - fixes of PostgreSQL compile (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@3875 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'upgrades/dbpatches/1.3/postgresql/patch/alerts.sql')
-rw-r--r--upgrades/dbpatches/1.3/postgresql/patch/alerts.sql5
1 files changed, 1 insertions, 4 deletions
diff --git a/upgrades/dbpatches/1.3/postgresql/patch/alerts.sql b/upgrades/dbpatches/1.3/postgresql/patch/alerts.sql
index 70cfd8ae..413e0ed0 100644
--- a/upgrades/dbpatches/1.3/postgresql/patch/alerts.sql
+++ b/upgrades/dbpatches/1.3/postgresql/patch/alerts.sql
@@ -11,10 +11,7 @@ CREATE TABLE alerts_tmp (
status integer DEFAULT '0' NOT NULL,
retries integer DEFAULT '0' NOT NULL,
error varchar(128) DEFAULT '' NOT NULL,
- repeats integer DEFAULT '0' NOT NULL,
- maxrepeats integer DEFAULT '0' NOT NULL,
nextcheck integer DEFAULT '0' NOT NULL,
- delay integer DEFAULT '0' NOT NULL,
PRIMARY KEY (alertid)
);
CREATE INDEX alerts_1 on alerts_tmp (actionid);
@@ -24,6 +21,6 @@ CREATE INDEX alerts_4 on alerts_tmp (status,retries);
CREATE INDEX alerts_5 on alerts_tmp (mediatypeid);
CREATE INDEX alerts_6 on alerts_tmp (userid);
-insert into alerts_tmp select * from alerts;
+insert into alerts_tmp select alertid,actionid,triggerid,userid,clock,mediatypeid,sendto,subject,message,status,retries,error,nextcheck from alerts;
drop table alerts;
alter table alerts_tmp rename to alerts;