bcgov / nr-rfc-alertauthoring

a tool to help create structured data for River Forecast Centre alert feeds
Apache License 2.0
1 stars 0 forks source link

Create CAP History Tables #103

Closed franTarkenton closed 6 months ago

franTarkenton commented 6 months ago

Update the database to include CAP history table that can be used to track the changes to CAP events. Also create a cap area table that can be used to track changes between the relationship from caps to areas/basins for cap events.

Acceptance Criteria

franTarkenton commented 6 months ago

CAP event status should only allow these values:

Need to either create a domain or a lut to restrict this. Domain is easier as doesn't effect work already completed as much as implementing a lut would

franTarkenton commented 6 months ago

tests adjusted and passing when run locally with sqllite and postgres backends, however on postgres side they are persisting data in the database. This needs to get cleaned up

franTarkenton commented 6 months ago

see https://github.com/bcgov/nr-rfc-alertauthoring/pull/106