Skip to content

Commit

Permalink
chore: add 2024 to the funding stream rfp table
Browse files Browse the repository at this point in the history
  • Loading branch information
BCerki committed May 28, 2024
1 parent 18eaa1a commit b8f6eeb
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
10 changes: 10 additions & 0 deletions schema/deploy/tables/funding_stream_rfp_002.sql
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;

7 changes: 7 additions & 0 deletions schema/revert/tables/funding_stream_rfp_002.sql
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;
2 changes: 2 additions & 0 deletions schema/sqitch.plan
Original file line number Diff line number Diff line change
Expand Up @@ -374,3 +374,5 @@ mutations/commit_form_change [mutations/commit_form_change@1.15.0] 2023-11-22T19
@1.16.4 2024-05-15T17:36:42Z Mike Vesprini <mike@button.is> # release v1.16.4
@1.16.5 2024-05-22T23:00:27Z Mike Vesprini <mike@button.is> # release v1.16.5
@1.17.0 2024-05-24T21:29:42Z Mike Vesprini <mike@button.is> # 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
13 changes: 13 additions & 0 deletions schema/verify/tables/funding_stream_rfp_002.sql
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;

0 comments on commit b8f6eeb

Please sign in to comment.