[icinga-checkins] icinga.org: icinga-web/jmosshammer/default: fix missing semicolon in mysql schema

git at icinga.org git at icinga.org
Sun Mar 20 11:26:10 CET 2011


Module: icinga-web
Branch: jmosshammer/default
Commit: e2cfa5ada3e3a4b92b86b295ee24414805d999d2
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=e2cfa5ada3e3a4b92b86b295ee24414805d999d2

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Feb 14 10:07:55 2011 +0100

fix missing semicolon in mysql schema

---

 etc/schema/mysql.sql                      |    4 ++--
 etc/schema/updates/mysql_v1-2_to_v1-3.sql |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/etc/schema/mysql.sql b/etc/schema/mysql.sql
index 82f1d5c..8d32a0d 100644
--- a/etc/schema/mysql.sql
+++ b/etc/schema/mysql.sql
@@ -52,10 +52,10 @@ INSERT INTO nsm_target (target_id,target_name,target_description,target_class,ta
 INSERT INTO nsm_target (target_id,target_name,target_description,target_class,target_type) VALUES ('11','appkit.admin','Access to admin panel ','','credential');
 INSERT INTO nsm_target (target_id,target_name,target_description,target_class,target_type) VALUES ('12','appkit.user.dummy','Basic right for users','','credential');
 INSERT INTO nsm_target (target_id,target_name,target_description,target_class,target_type) VALUES ('13','appkit.api.access','Access to web-based api adapter','','credential');
-INSERT INTO nsm_target (target_name,target_description,target_class,target_type) VALUES ('icinga.control.view','Allow user to view icinga status','','credential')
-INSERT INTO nsm_target (target_name,target_description,target_class,target_type) VALUES ('icinga.control.admin','Allow user to administrate the icinga process','','credential');
 INSERT INTO nsm_target (target_id,target_name,target_description,target_class,target_type) VALUES ('14','icinga.demoMode','Hide features like password reset which are not wanted in demo systems','','credential');
 INSERT INTO nsm_target (target_id,target_name,target_description,target_class,target_type) VALUES ('15','icinga.cronk.category.admin','Enables category admin features','','credential');
+INSERT INTO nsm_target (target_name,target_description,target_class,target_type) VALUES ('icinga.control.view','Allow user to view icinga status','','credential');
+INSERT INTO nsm_target (target_name,target_description,target_class,target_type) VALUES ('icinga.control.admin','Allow user to administrate the icinga process','','credential');
 INSERT INTO nsm_role (role_id,role_name,role_description,role_disabled) VALUES ('1','icinga_user','The default representation of a ICINGA user','0');
 INSERT INTO nsm_role (role_id,role_name,role_description,role_disabled) VALUES ('2','appkit_user','Appkit user test','0');
 INSERT INTO nsm_role (role_id,role_name,role_description,role_disabled,role_parent) VALUES ('3','appkit_admin','AppKit admin','0','2');
diff --git a/etc/schema/updates/mysql_v1-2_to_v1-3.sql b/etc/schema/updates/mysql_v1-2_to_v1-3.sql
index 9a70a6e..0ed7d0a 100644
--- a/etc/schema/updates/mysql_v1-2_to_v1-3.sql
+++ b/etc/schema/updates/mysql_v1-2_to_v1-3.sql
@@ -45,7 +45,7 @@ CREATE TABLE `cronk_principal_cronk` (
 
 -- Adding new credential and add them to appkit_admin
 
-INSERT INTO nsm_target (target_name,target_description,target_class,target_type) VALUES ('icinga.control.view','Allow user to view icinga status','','credential')
+INSERT INTO nsm_target (target_name,target_description,target_class,target_type) VALUES ('icinga.control.view','Allow user to view icinga status','','credential');
 INSERT INTO nsm_target (target_name,target_description,target_class,target_type) VALUES ('icinga.control.admin','Allow user to administrate the icinga process','','credential');
 INSERT INTO nsm_target (`target_name`, `target_description`, `target_type`) VALUES ('icinga.cronk.category.admin', 'Enables category admin feature', 'credential');
 SET @TARGET_ID=LAST_INSERT_ID();





More information about the icinga-checkins mailing list