Skip to content

Commit

Permalink
feat: updating local copy of oracle db data
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Nov 27, 2023
1 parent a70d9c7 commit a0cc90a
Show file tree
Hide file tree
Showing 8 changed files with 3,879 additions and 329 deletions.
1,225 changes: 1,018 additions & 207 deletions legacy/src/test/resources/db/migration/V1__init.sql

Large diffs are not rendered by default.

293 changes: 171 additions & 122 deletions legacy/src/test/resources/db/migration/V2__full_client.sql

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions legacy/src/test/resources/db/migration/V3__pre_packages.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
CREATE OR REPLACE TYPE THE."SIL_ERROR_PARAMS" AS VARRAY(50) OF VARCHAR2(500);

CREATE OR REPLACE TYPE THE."SIL_ERROR_MESSAGE" AS OBJECT
(
DATABASE_FIELD VARCHAR2(50),
MESSAGE VARCHAR2(250),
PARAMS SIL_ERROR_PARAMS,
WARNING_FLAG VARCHAR2(1)
);

CREATE OR REPLACE TYPE THE."SIL_ERROR_MESSAGES" AS VARRAY(100) OF SIL_ERROR_MESSAGE;

CREATE OR REPLACE PACKAGE THE.client_constants AS

TYPE REF_CUR_T IS REF CURSOR;

C_AUDIT_INSERT CONSTANT VARCHAR2(3) := 'INS';
C_AUDIT_UPDATE CONSTANT VARCHAR2(3) := 'UPD';
C_AUDIT_DELETE CONSTANT VARCHAR2(3) := 'DEL';

END client_constants;

CREATE OR REPLACE TYPE THE."CLIENT_GENERIC_STRING_VARRAY" AS VARRAY(4000) OF VARCHAR2(255);
CREATE OR REPLACE TYPE THE."CLIENT_REORG_RESULTS" AS VARRAY(1000) OF client_reorg_result;

CREATE OR REPLACE TYPE THE."CLIENT_REORG_RESULT" AS OBJECT
(
TABLE_NAME VARCHAR2(30)
, ROWS_UPDATED NUMBER(20)
);

CREATE SEQUENCE client_dba_seq
START WITH 1
INCREMENT BY 1
NOCACHE
NOCYCLE;


CREATE SEQUENCE client_contact_seq
START WITH 1
INCREMENT BY 1
NOCACHE
NOCYCLE;
Loading

0 comments on commit a0cc90a

Please sign in to comment.