-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add 2024 to the funding stream rfp table
- Loading branch information
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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,10 @@ | ||
-- Deploy cif:tables/funding_stream_rfp_002 to pg | ||
|
||
|
||
begin; | ||
|
||
insert into cif.funding_stream_rfp (year, funding_stream_id) values | ||
(2024, 1), (2024, 2); | ||
|
||
commit; | ||
|
This file contains 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,7 @@ | ||
-- Revert cif:tables/funding_stream_rfp_002 from pg | ||
|
||
begin; | ||
|
||
delete from cif.funding_stream_rfp where year = 2024; | ||
|
||
commit; |
This file contains 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 |
---|---|---|
|
@@ -374,3 +374,5 @@ mutations/commit_form_change [mutations/[email protected]] 2023-11-22T19 | |
@1.16.4 2024-05-15T17:36:42Z Mike Vesprini <[email protected]> # release v1.16.4 | ||
@1.16.5 2024-05-22T23:00:27Z Mike Vesprini <[email protected]> # release v1.16.5 | ||
@1.17.0 2024-05-24T21:29:42Z Mike Vesprini <[email protected]> # release v1.17.0 | ||
|
||
tables/funding_stream_rfp_002 2024-05-28T22:41:57Z Brianna Cerkiewicz <briannacerkiewicz@pop-os> # Add 2024 funding streams values to funding_stream_rfp table |
This file contains 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,13 @@ | ||
-- Verify cif:tables/funding_stream_rfp_002 on pg | ||
|
||
begin; | ||
|
||
do $$ | ||
begin | ||
assert ( | ||
(select count(*) from cif.funding_stream_rfp where year = 2024) = 2 | ||
), 'EP and IA streams have been added for 2024'; | ||
end; | ||
$$; | ||
|
||
rollback; |