generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 3
DTSRD-4329. flyway script to add skills into skill table #1081
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
SabinaHMCTS
wants to merge
46
commits into
master
Choose a base branch
from
DTSRD-4329
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+190
−29
Open
Changes from 2 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
0891f54
DTSRD-4329. flyway script to add skills into skill table
SabinaHMCTS a8a9456
DTSRD-4329. fixing testcase
SabinaHMCTS 6ddf15d
DTSRD-4329. fixing integrationtestcase
SabinaHMCTS 7005a0f
DTSRD-4329. fixing functional testcase
SabinaHMCTS cf2b8e6
Update V1_26__insert_skill_table.sql
SabinaHMCTS 680fce1
Update V1_31__insert_skill_table.sql
SabinaHMCTS 858953b
DTSRD-4329. fixing functional testcase
SabinaHMCTS 4bf8d2f
Update StaffRefDataSkillsFunctionalTest.java
SabinaHMCTS 0346978
DTSRD-4329. fixing functional testcase
SabinaHMCTS 8f38a0d
Update StaffRefDataSkillsFunctionalTest.java
SabinaHMCTS 31573b5
DTSRD-4329. fixing functional testcase
SabinaHMCTS e677923
DTSRD-4329. fixing functional testcase
SabinaHMCTS e4dea92
Update StaffRefDataSkillsFunctionalTest.java
SabinaHMCTS 2f3477b
Update StaffRefDataSkillsFunctionalTest.java
SabinaHMCTS 6876bb7
Update CaseWorkerReferenceDataClient.java
SabinaHMCTS a726b8e
Branch was auto-updated.
github-actions[bot] 2435e96
Branch was auto-updated.
github-actions[bot] 54a43da
Branch was auto-updated.
github-actions[bot] f7da628
Branch was auto-updated.
github-actions[bot] 113755c
Branch was auto-updated.
github-actions[bot] a55b99a
Branch was auto-updated.
github-actions[bot] 1a80a7e
Branch was auto-updated.
github-actions[bot] b8dfbd9
Branch was auto-updated.
github-actions[bot] 453991e
Branch was auto-updated.
github-actions[bot] 9b417de
Branch was auto-updated.
github-actions[bot] fb1acea
Branch was auto-updated.
github-actions[bot] 97926f7
Branch was auto-updated.
github-actions[bot] 7f735ac
Branch was auto-updated.
github-actions[bot] 441f9d0
Branch was auto-updated.
github-actions[bot] 1bc903a
Branch was auto-updated.
github-actions[bot] 27164c6
Branch was auto-updated.
github-actions[bot] 52aa83e
Branch was auto-updated.
github-actions[bot] 6ad3216
Branch was auto-updated.
github-actions[bot] 6e27401
Branch was auto-updated.
github-actions[bot] b5ac167
Branch was auto-updated.
github-actions[bot] b592b5a
Branch was auto-updated.
github-actions[bot] 8a46d9e
Branch was auto-updated.
github-actions[bot] 84051ef
Branch was auto-updated.
github-actions[bot] d0c35e3
Branch was auto-updated.
github-actions[bot] abe6c4e
Branch was auto-updated.
github-actions[bot] aa4d7df
Branch was auto-updated.
github-actions[bot] 7818962
Branch was auto-updated.
github-actions[bot] 8fb7d74
Branch was auto-updated.
github-actions[bot] 089d6bf
Branch was auto-updated.
github-actions[bot] 447338f
Branch was auto-updated.
github-actions[bot] 560313f
Branch was auto-updated.
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
src/integrationTest/resources/db/testmigration/V1_26__insert_skill_table.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (46,'SKILL:HRS1:AA','HRS Civil','HRS1','Future Operations',timezone('utc', now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (47,'SKILL:HRS1:AB','HRS Family','HRS1','Future Operations',timezone('utc', now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (48,'SKILL:HRS1:BA','HRS General Regulatory Chamber','HRS1','Future Operations',timezone('utc', now()), | ||
| timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (49,'SKILL:HRS1:BB','HRS Social Entitlement Chamber','HRS1','Future Operations',timezone('utc', now()), | ||
| timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (50,'SKILL:HRS1:BC','HRS Health, Education and Social Care Chamber','HRS1','Future Operations',timezone('utc', | ||
| now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (51,'SKILL:HRS1:BD','HRS Tax Chamber','HRS1','Future Operations',timezone('utc', now()),timezone('utc', | ||
| now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (52,'SKILL:HRS1:BE','HRS War Pensions and Armed Forces Compensation Chamber','HRS1','Future Operations', | ||
| timezone('utc', now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (53,'SKILL:HRS1:BF','HRS Immigration and Asylum Chamber','HRS1','Future Operations',timezone('utc', now()), | ||
| timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (54,'SKILL:HRS1:BG','HRS Property Chamber','HRS1','Future Operations',timezone('utc', now()),timezone('utc', | ||
| now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (55,'SKILL:HRS1:BH','HRS Employment Tribunals','HRS1','Future Operations',timezone('utc', now()),timezone('utc', | ||
| now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (56,'SKILL:HRS1:BT','HRS Upper Tribunal Tax and Chancery Chamber','HRS1','Future Operations',timezone('utc', | ||
| now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (57,'SKILL:HRS1:BL','HRS Upper Tribunal Lands Chamber','HRS1','Future Operations',timezone('utc', | ||
| now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (58,'SKILL:HRS1:BI','HRS Upper Tribunal Immigration and Asylum Chamber','HRS1','Future Operations', | ||
| timezone('utc', now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (59,'SKILL:HRS1:BK','HRS Upper Tribunal Administrative Appeals Chamber','HRS1','Future Operations', | ||
| timezone('utc', now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (60,'SKILL:HRS1:BM','HRS Employment Appeals Tribunal','HRS1','Future Operations',timezone('utc', | ||
| now()),timezone('utc', now())); | ||
|
|
||
| commit; | ||
45 changes: 45 additions & 0 deletions
45
src/main/resources/db/migration/V1_31__insert_skill_table.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (46,'SKILL:HRS1:AA','HRS Civil','HRS1','Future Operations',timezone('utc', now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (47,'SKILL:HRS1:AB','HRS Family','HRS1','Future Operations',timezone('utc', now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (48,'SKILL:HRS1:BA','HRS General Regulatory Chamber','HRS1','Future Operations',timezone('utc', now()), | ||
| timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (49,'SKILL:HRS1:BB','HRS Social Entitlement Chamber','HRS1','Future Operations',timezone('utc', now()), | ||
| timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (50,'SKILL:HRS1:BC','HRS Health, Education and Social Care Chamber','HRS1','Future Operations',timezone('utc', | ||
| now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (51,'SKILL:HRS1:BD','HRS Tax Chamber','HRS1','Future Operations',timezone('utc', now()),timezone('utc', | ||
| now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (52,'SKILL:HRS1:BE','HRS War Pensions and Armed Forces Compensation Chamber','HRS1','Future Operations', | ||
lukasz-wolski marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| timezone('utc', now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (53,'SKILL:HRS1:BF','HRS Immigration and Asylum Chamber','HRS1','Future Operations',timezone('utc', now()), | ||
| timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (54,'SKILL:HRS1:BG','HRS Property Chamber','HRS1','Future Operations',timezone('utc', now()),timezone('utc', | ||
| now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (55,'SKILL:HRS1:BH','HRS Employment Tribunals','HRS1','Future Operations',timezone('utc', now()),timezone('utc', | ||
| now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (56,'SKILL:HRS1:BT','HRS Upper Tribunal Tax and Chancery Chamber','HRS1','Future Operations',timezone('utc', | ||
| now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (57,'SKILL:HRS1:BL','HRS Upper Tribunal Lands Chamber','HRS1','Future Operations',timezone('utc', | ||
| now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (58,'SKILL:HRS1:BI','HRS Upper Tribunal Immigration and Asylum Chamber','HRS1','Future Operations', | ||
| timezone('utc', now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (59,'SKILL:HRS1:BK','HRS Upper Tribunal Administrative Appeals Chamber','HRS1','Future Operations', | ||
| timezone('utc', now()),timezone('utc', now())); | ||
| INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES | ||
| (60,'SKILL:HRS1:BM','HRS Employment Appeals Tribunal','HRS1','Future Operations',timezone('utc', | ||
| now()),timezone('utc', now())); | ||
|
|
||
| commit; | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.