[icinga-checkins] icinga.org: icinga-web/master: * Fixed primary key issue for update script (fixes #2229)

git at icinga.org git at icinga.org
Thu Jan 26 17:19:53 CET 2012


Module: icinga-web
Branch: master
Commit: 61564b75fd5abe5cb5cdd39e8c4b745624eccac2
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=61564b75fd5abe5cb5cdd39e8c4b745624eccac2

Author: Marius Hein <marius.hein at netways.de>
Date:   Thu Jan 26 17:19:25 2012 +0100

* Fixed primary key issue for update script (fixes #2229)

---

 etc/schema/updates/mysql_v1-5_to_v1-6.sql |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/etc/schema/updates/mysql_v1-5_to_v1-6.sql b/etc/schema/updates/mysql_v1-5_to_v1-6.sql
index bcc6b63..c7fa32d 100644
--- a/etc/schema/updates/mysql_v1-5_to_v1-6.sql
+++ b/etc/schema/updates/mysql_v1-5_to_v1-6.sql
@@ -1 +1 @@
-INSERT INTO nsm_target (target_id,target_name,target_description,target_class,target_type) VALUES ('19','IcingaCommandRestrictions','Disable critical commands for this user','IcingaDataCommandRestrictionPrincipalTarget','icinga');
+INSERT INTO nsm_target (target_name,target_description,target_class,target_type) VALUES ('IcingaCommandRestrictions','Disable critical commands for this user','IcingaDataCommandRestrictionPrincipalTarget','icinga');





More information about the icinga-checkins mailing list