schema/spacewalk/oracle/data/rhn_schedule_days.sql | 41 ++++++-------------
schema/spacewalk/postgres/data/rhn_schedule_days.sql | 41 ++++++-------------
2 files changed, 30 insertions(+), 52 deletions(-)
New commits:
commit 52384ab2b0a886ec2415641a15223e5c9af004a9
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Sep 6 09:48:38 2010 +0200
removed outdated log comments
diff --git a/schema/spacewalk/oracle/data/rhn_schedule_days.sql b/schema/spacewalk/oracle/data/rhn_schedule_days.sql
index b8133b7..bf701bf 100644
--- a/schema/spacewalk/oracle/data/rhn_schedule_days.sql
+++ b/schema/spacewalk/oracle/data/rhn_schedule_days.sql
@@ -72,20 +72,3 @@ end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
null,null,null,null,null,null,'system',null);
commit;
---
---Revision 1.5 2004/06/17 20:48:59 kja
---bugzilla 124970 -- _data is in for 350.
---
---Revision 1.4 2004/05/29 21:51:49 pjones
---bugzilla: none -- _data is not for 340, so says kja.
---
---Revision 1.3 2004/05/07 23:30:22 kja
---Shortened constraint/other names as needed. Fixed minor syntax errors.
---
---Revision 1.2 2004/05/04 20:03:38 kja
---Added commits.
---
---Revision 1.1 2004/04/22 19:05:45 kja
---Added the 24 x 7 schedule data. Corrected logic for skipping sequence numbers
---in rhn_notification_formats_data.sql and rhn_strategies_data.sql.
---
diff --git a/schema/spacewalk/postgres/data/rhn_schedule_days.sql b/schema/spacewalk/postgres/data/rhn_schedule_days.sql
index 47b8fd2..2f2bb72 100644
--- a/schema/spacewalk/postgres/data/rhn_schedule_days.sql
+++ b/schema/spacewalk/postgres/data/rhn_schedule_days.sql
@@ -1,5 +1,5 @@
--
--- Copyright (c) 2008 Red Hat, Inc.
+-- Copyright (c) 2010 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
@@ -72,20 +72,3 @@ end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
null,null,null,null,null,null,'system',null);
commit;
---
---Revision 1.5 2004/06/17 20:48:59 kja
---bugzilla 124970 -- _data is in for 350.
---
---Revision 1.4 2004/05/29 21:51:49 pjones
---bugzilla: none -- _data is not for 340, so says kja.
---
---Revision 1.3 2004/05/07 23:30:22 kja
---Shortened constraint/other names as needed. Fixed minor syntax errors.
---
---Revision 1.2 2004/05/04 20:03:38 kja
---Added commits.
---
---Revision 1.1 2004/04/22 19:05:45 kja
---Added the 24 x 7 schedule data. Corrected logic for skipping sequence numbers
---in rhn_notification_formats_data.sql and rhn_strategies_data.sql.
---
commit b66bcac0e2cfd00c47529086bb238780c1258aee
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Sep 6 09:44:49 2010 +0200
converted dates to ISO format (independent of NLS_LANG settings)
addressing
ERROR at line 5:
ORA-01843: invalid month
diff --git a/schema/spacewalk/oracle/data/rhn_schedule_days.sql b/schema/spacewalk/oracle/data/rhn_schedule_days.sql
index f8fa954..b8133b7 100644
--- a/schema/spacewalk/oracle/data/rhn_schedule_days.sql
+++ b/schema/spacewalk/oracle/data/rhn_schedule_days.sql
@@ -1,5 +1,5 @@
--
--- Copyright (c) 2008 Red Hat, Inc.
+-- Copyright (c) 2010 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
@@ -25,50 +25,50 @@ insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( rhn_schedule_days_recid_seq.nextval,
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),0,
- to_date('08-SEP-2000 12:00:02 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:02 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( rhn_schedule_days_recid_seq.nextval,
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),1,
- to_date('08-SEP-2000 12:00:09 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:09 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( rhn_schedule_days_recid_seq.nextval,
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),2,
- to_date('08-SEP-2000 12:00:14 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:14 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( rhn_schedule_days_recid_seq.nextval,
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),3,
- to_date('08-SEP-2000 12:00:20 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:20 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( rhn_schedule_days_recid_seq.nextval,
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),4,
- to_date('08-SEP-2000 12:00:25 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:25 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( rhn_schedule_days_recid_seq.nextval,
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),5,
- to_date('08-SEP-2000 12:00:31 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:31 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( rhn_schedule_days_recid_seq.nextval,
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),6,
- to_date('08-SEP-2000 12:00:36 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:36 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
commit;
diff --git a/schema/spacewalk/postgres/data/rhn_schedule_days.sql b/schema/spacewalk/postgres/data/rhn_schedule_days.sql
index 1119e59..47b8fd2 100644
--- a/schema/spacewalk/postgres/data/rhn_schedule_days.sql
+++ b/schema/spacewalk/postgres/data/rhn_schedule_days.sql
@@ -25,50 +25,50 @@ insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( nextval('rhn_schedule_days_recid_seq'),
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),0,
- to_date('08-SEP-2000 12:00:02 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:02 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( nextval('rhn_schedule_days_recid_seq'),
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),1,
- to_date('08-SEP-2000 12:00:09 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:09 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( nextval('rhn_schedule_days_recid_seq'),
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),2,
- to_date('08-SEP-2000 12:00:14 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:14 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( nextval('rhn_schedule_days_recid_seq'),
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),3,
- to_date('08-SEP-2000 12:00:20 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:20 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( nextval('rhn_schedule_days_recid_seq'),
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),4,
- to_date('08-SEP-2000 12:00:25 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:25 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( nextval('rhn_schedule_days_recid_seq'),
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),5,
- to_date('08-SEP-2000 12:00:31 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:31 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
insert into rhn_schedule_days(recid,schedule_id,ord,start_1,end_1,start_2,
end_2,start_3,end_3,start_4,end_4,last_update_user,last_update_date)
values ( nextval('rhn_schedule_days_recid_seq'),
( select recid from rhn_schedules where customer_id is null and description = '24x7' ),6,
- to_date('08-SEP-2000 12:00:36 AM','DD-MON-YYYY HH:MI:SS AM'),
- to_date('09-SEP-2000 12:00:00 AM','DD-MON-YYYY HH:MI:SS AM'),
+ to_date('2000-09-08 12:00:36 AM','YYYY-MM-DD HH:MI:SS AM'),
+ to_date('2000-09-09 12:00:00 AM','YYYY-MM-DD HH:MI:SS AM'),
null,null,null,null,null,null,'system',null);
commit;