Skip to content

Commit

Permalink
Add alter ups to change the name of the PIMS_ROLEs for lease/license
Browse files Browse the repository at this point in the history
  • Loading branch information
devinleighsmith committed Dec 20, 2024
1 parent 6b2b7f3 commit a6bc91d
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
UPDATE
PIMS_ROLE
SET
NAME = 'Lease/License functional',
CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1
WHERE
NAME = 'Lease License functional';

UPDATE
PIMS_ROLE
SET
NAME = 'Lease/License read-only',
CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1
WHERE
NAME = 'Lease License read-only';
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ PRINT ' == DB TRANSACTION START ========'
PRINT '- Executing PSP_PIMS_S96_00/Alter Down/010_DML_PIMS_STATIC_VARIABLE_VERSION.sql '
:setvar filepath "PSP_PIMS_S96_00/Alter Down/010_DML_PIMS_STATIC_VARIABLE_VERSION.sql"
:r $(filepath)
PRINT '- Executing PSP_PIMS_S96_00/Alter Down/011_DML_PIMS_ROLE_NAME.sql '
:setvar filepath "PSP_PIMS_S96_00/Alter Down/011_DML_PIMS_ROLE_NAME.sql"
:r $(filepath)

--End script section

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
UPDATE
PIMS_ROLE
SET
NAME = 'Lease License functional',
CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1
WHERE
NAME = 'Lease/License functional';

UPDATE
PIMS_ROLE
SET
NAME = 'Lease License read-only',
CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1
WHERE
NAME = 'Lease/License read-only';
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ PRINT ' == DB TRANSACTION START ========'
PRINT '- Executing PSP_PIMS_S96_00/Alter Up/163_DML_PIMS_ACQ_FILE_EXPROP_RISK_TYPE.sql '
:setvar filepath "PSP_PIMS_S96_00/Alter Up/163_DML_PIMS_ACQ_FILE_EXPROP_RISK_TYPE.sql"
:r $(filepath)
PRINT '- Executing PSP_PIMS_S96_00/Alter Up/164_DML_PIMS_ROLE_NAME.sql '
:setvar filepath "PSP_PIMS_S96_00/Alter Up/164_DML_PIMS_ROLE_NAME.sql"
:r $(filepath)

--End script section

Expand Down

0 comments on commit a6bc91d

Please sign in to comment.