Skip to content

Commit d12f10f

Browse files
author
Eric Novotny
committed
update paths
1 parent 27a9a1a commit d12f10f

1 file changed

Lines changed: 29 additions & 28 deletions

File tree

.github/actions/database-migration-image/update_24_12_4_to_25_7_1.sql

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -90,58 +90,59 @@ alter table UPLOADED_XLS_FILE_ROWS_T modify USER_ID_LAST_UPDATED varchar2(128);
9090

9191
PROMPT ################################################################################
9292
PROMPT ALTERING VIEWS
93-
@../cwms/views/av_cwms_ts_id.sql
94-
@../cwms/views/av_location_level.sql
93+
@/cwmsdb/schema/src/cwms/
94+
@/cwmsdb/schema/src/cwms/views/av_cwms_ts_id.sql
95+
@/cwmsdb/schema/src/cwms/views/av_location_level.sql
9596

9697
PROMPT ################################################################################
9798
PROMPT adding Data acquisition groups
98-
@./25_07_01/data_acquisition
99+
@/schema/src/updateScripts/25_07_01/data_acquisition
99100

100101
PROMPT ################################################################################
101102
PROMPT CREATING AND ALTERING TYPE SPECIFICATIONS
102103
select systimestamp from dual;
103104

104105
drop type ztsv_type force;
105-
@../cwms/types/ztsv_type
106-
@../cwms/types/ztsv_entry_type
107-
@../cwms/types/ztsv_entry_array
106+
@/cwmsdb/schema/src/cwms/types/ztsv_type
107+
@/cwmsdb/schema/src/cwms/types/ztsv_entry_type
108+
@/cwmsdb/schema/src/cwms/types/ztsv_entry_array
108109
create or replace public synonym cwms_t_ztsv_entry for ztsv_entry_type;
109110

110111
PROMPT ################################################################################
111112
PROMPT CREATING AND ALTERING TYPE BODIES
112113
select systimestamp from dual;
113114

114-
@../cwms/types/loc_lvl_indicator_cond_t-body
115-
@../cwms/types/rating_t-body
116-
@../cwms/types/streamflow_meas_t-body
117-
@../cwms/types/streamflow_meas2_t-body
115+
@/cwmsdb/schema/src/cwms/types/loc_lvl_indicator_cond_t-body
116+
@/cwmsdb/schema/src/cwms/types/rating_t-body
117+
@/cwmsdb/schema/src/cwms/types/streamflow_meas_t-body
118+
@/cwmsdb/schema/src/cwms/types/streamflow_meas2_t-body
118119

119120
PROMPT ################################################################################
120121
PROMPT UPDATING PACKAGE SPECIFICATIONS
121122

122-
@../cwms/cwms_cache_pkg
123-
@../cwms/cwms_sec_pkg
124-
@../cwms/cwms_ts_pkg
125-
@../cwms/cwms_util_pkg
123+
@/cwmsdb/schema/src/cwms/cwms_cache_pkg
124+
@/cwmsdb/schema/src/cwms/cwms_sec_pkg
125+
@/cwmsdb/schema/src/cwms/cwms_ts_pkg
126+
@/cwmsdb/schema/src/cwms/cwms_util_pkg
126127

127128
PROMPT ################################################################################
128129
PROMPT UPDATING PACKAGE BODIES
129130
select systimestamp from dual;
130131

131132
define builduser = BUILDUSER
132133

133-
@../cwms/cwms_cache_pkg_body
134-
@../cwms/cwms_display_pkg_body
135-
@../cwms/cwms_env_pkg_body
136-
@../cwms/cwms_lock_pkg_body
137-
@../cwms/cwms_msg_pkg_body
138-
@../cwms/cwms_priv_pkg_body
139-
@../cwms/cwms_project_pkg_body
140-
@../cwms/cwms_sec_pkg_body
141-
@../cwms/cwms_rating_pkg_body
142-
@../cwms/cwms_shef_pkg_body
143-
@../cwms/cwms_ts_pkg_body
144-
@../cwms/cwms_util_pkg_body
134+
@/cwmsdb/schema/src/cwms/cwms_cache_pkg_body
135+
@/cwmsdb/schema/src/cwms/cwms_display_pkg_body
136+
@/cwmsdb/schema/src/cwms/cwms_env_pkg_body
137+
@/cwmsdb/schema/src/cwms/cwms_lock_pkg_body
138+
@/cwmsdb/schema/src/cwms/cwms_msg_pkg_body
139+
@/cwmsdb/schema/src/cwms/cwms_priv_pkg_body
140+
@/cwmsdb/schema/src/cwms/cwms_project_pkg_body
141+
@/cwmsdb/schema/src/cwms/cwms_sec_pkg_body
142+
@/cwmsdb/schema/src/cwms/cwms_rating_pkg_body
143+
@/cwmsdb/schema/src/cwms/cwms_shef_pkg_body
144+
@/cwmsdb/schema/src/cwms/cwms_ts_pkg_body
145+
@/cwmsdb/schema/src/cwms/cwms_util_pkg_body
145146

146147
PROMPT ################################################################################
147148
PROMPT UPDATING TRIGGERS
@@ -243,7 +244,7 @@ end;
243244
PROMPT ################################################################################
244245
PROMPT RECOMPILING SCHEMA
245246
select systimestamp from dual;
246-
@./util/compile_objects
247+
@/cwmsdb/schema/src/updateScripts/util/compile_objects
247248

248249
--promp ################################################################################
249250
--PROMPT REMAINING INVALID OBJECTS...
@@ -269,7 +270,7 @@ select systimestamp from dual;
269270
PROMPT ################################################################################
270271
PROMPT UPDATING DB_CHANGE_LOG
271272
select systimestamp from dual;
272-
@@./25_07_01/update_db_change_log
273+
@/cwmsdb/schema/src/updateScripts/25_07_01/update_db_change_log
273274
--select substr(version, 1, 10) as version,
274275
-- to_char(version_date, 'yyyy-mm-dd hh24:mi') as version_date,
275276
-- to_char(apply_date, 'yyyy-mm-dd hh24:mi') as apply_date

0 commit comments

Comments
 (0)