Skip to content

Commit

Permalink
Create V1.0.60__EDX_API.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
SodhiA1 committed Nov 18, 2024
1 parent 5b55086 commit 6201905
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions api/src/main/resources/db/migration/V1.0.60__EDX_API.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
INSERT INTO EDX_PERMISSION (EDX_PERMISSION_CODE, LABEL, DESCRIPTION, CREATE_USER, UPDATE_USER)
VALUES ('GRAD_SCH_TVR_VIEW', 'GRAD School TVR View', 'GRAD view projections and tvrs reports permission for School.', 'IDIR/AVSODHI', 'IDIR/AVSODHI');

INSERT INTO EDX_PERMISSION (EDX_PERMISSION_CODE, LABEL, DESCRIPTION, CREATE_USER, UPDATE_USER)
VALUES ('GRAD_SCH_RPT_VIEW', 'GRAD School Reports View', 'GRAD view reports and transcripts permission for School.', 'IDIR/AVSODHI', 'IDIR/AVSODHI');

INSERT INTO EDX_ROLE_PERMISSION (EDX_ROLE_PERMISSION_ID, EDX_ROLE_CODE, EDX_PERMISSION_CODE, CREATE_USER, CREATE_DATE,
UPDATE_USER, UPDATE_DATE)
VALUES (gen_random_uuid(), 'GRAD_SCH_ADMIN', 'GRAD_SCH_TVR_VIEW', 'IDIR/AVSODHI',
to_date('2024-11-18', 'YYYY-MM-DD'), 'IDIR/AVSODHI', to_date('2024-11-18', 'YYYY-MM-DD'));

INSERT INTO EDX_ROLE_PERMISSION (EDX_ROLE_PERMISSION_ID, EDX_ROLE_CODE, EDX_PERMISSION_CODE, CREATE_USER, CREATE_DATE,
UPDATE_USER, UPDATE_DATE)
VALUES (gen_random_uuid(), 'GRAD_SCH_ADMIN', 'GRAD_SCH_RPT_VIEW', 'IDIR/AVSODHI',
to_date('2024-11-18', 'YYYY-MM-DD'), 'IDIR/AVSODHI', to_date('2024-11-18', 'YYYY-MM-DD'));

0 comments on commit 6201905

Please sign in to comment.