schema/spacewalk

Jan Pazdziora adelton at fedoraproject.org
Wed Jun 6 07:43:15 UTC 2012


 schema/spacewalk/upgrade/spacewalk-schema-0.3-to-spacewalk-schema-0.4/115-rhnChannel-add-maint-columns.sql |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 11b0b203690b05c3160f170303235de7472249f4
Author: Jan Pazdziora <jpazdziora at redhat.com>
Date:   Tue Jun 5 17:25:22 2012 +0200

    Disable rhn_channel_mod_trig while updating rhnChannel, so that modified does not get modified.

diff --git a/schema/spacewalk/upgrade/spacewalk-schema-0.3-to-spacewalk-schema-0.4/115-rhnChannel-add-maint-columns.sql b/schema/spacewalk/upgrade/spacewalk-schema-0.3-to-spacewalk-schema-0.4/115-rhnChannel-add-maint-columns.sql
index ad73ba9..a0078c6 100644
--- a/schema/spacewalk/upgrade/spacewalk-schema-0.3-to-spacewalk-schema-0.4/115-rhnChannel-add-maint-columns.sql
+++ b/schema/spacewalk/upgrade/spacewalk-schema-0.3-to-spacewalk-schema-0.4/115-rhnChannel-add-maint-columns.sql
@@ -1,5 +1,5 @@
 --
--- Copyright (c) 2008 Red Hat, Inc.
+-- Copyright (c) 2008--2012 Red Hat, Inc.
 --
 -- This software is licensed to you under the GNU General Public License,
 -- version 2 (GPLv2). There is NO WARRANTY for this software, express or
@@ -15,8 +15,10 @@
 --
 --
 --
+alter trigger rhn_channel_mod_trig disable;
 ALTER TABLE rhnChannel
 ADD channel_access  varchar2(10) default 'private';
+alter trigger rhn_channel_mod_trig enable;
 
 ALTER TABLE rhnChannel
 ADD maint_name  varchar2(128);




More information about the spacewalk-commits mailing list