[icinga-checkins] icinga.org: icinga-web/r1.7: Fixed PGSQL upgrade script

git at icinga.org git at icinga.org
Mon Jun 18 15:50:28 CEST 2012


Module: icinga-web
Branch: r1.7
Commit: 1c1fc1ea41985f24d506a8fe385a8b7a608e9849
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=1c1fc1ea41985f24d506a8fe385a8b7a608e9849

Author: Marius Hein <marius.hein at netways.de>
Date:   Mon Jun 18 15:50:11 2012 +0200

Fixed PGSQL upgrade script

---

 etc/schema/updates/pgsql_v1-7-0_to_v1-7-1.sql |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/etc/schema/updates/pgsql_v1-7-0_to_v1-7-1.sql b/etc/schema/updates/pgsql_v1-7-0_to_v1-7-1.sql
index f0dde06..a29c43d 100644
--- a/etc/schema/updates/pgsql_v1-7-0_to_v1-7-1.sql
+++ b/etc/schema/updates/pgsql_v1-7-0_to_v1-7-1.sql
@@ -1,2 +1,4 @@
 DELETE FROM nsm_db_version;
 INSERT INTO nsm_db_version VALUES ('1','icinga-web/v1.7.0', NOW(), NOW());
+
+SELECT setval('nsm_target_target_id_seq','21');
\ No newline at end of file





More information about the icinga-checkins mailing list