Skip to content

Commit

Permalink
add changes to role to build/latest
Browse files Browse the repository at this point in the history
  • Loading branch information
devinleighsmith committed Dec 24, 2024
1 parent a6bc91d commit cb9b87a
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 4 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
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ VALUES
(NEWID(), N'Undetermined', N'The user has an undetermined role with their organization.', CONVERT([bit],(0)), CONVERT([bit],(1)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Acquisition functional', N'Access to create, read, update Acquisition files.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Acquisition read-only', N'Access to read Acquisition files.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Lease/License functional', N'Access to create, read, update Leases/Licenses files.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Lease/License read-only', N'Access to read lease/license.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Lease License functional', N'Access to create, read, update Leases/Licenses files.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Lease License read-only', N'Access to read lease/license.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Project functional', N'Access to create, read, update projects.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Project read-only', N'Access to read Projects.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Research functional', N'Access to create, read, update Research files.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ VALUES
(NEWID(), N'Undetermined', N'The user has an undetermined role with their organization.', CONVERT([bit],(0)), CONVERT([bit],(1)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Acquisition functional', N'Access to create, read, update Acquisition files.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Acquisition read-only', N'Access to read Acquisition files.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Lease/License functional', N'Access to create, read, update Leases/Licenses files.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Lease/License read-only', N'Access to read lease/license.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Lease License functional', N'Access to create, read, update Leases/Licenses files.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Lease License read-only', N'Access to read lease/license.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Project functional', N'Access to create, read, update projects.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Project read-only', N'Access to read Projects.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
(NEWID(), N'Research functional', N'Access to create, read, update Research files.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'),
Expand Down

0 comments on commit cb9b87a

Please sign in to comment.