bcgov / cas-reporting

This is for the Clean Growth Digital Services team for work related to reporting.
Apache License 2.0
0 stars 0 forks source link

Reporting: report_facility and report_operation tables #249

Closed pbastia closed 3 weeks ago

pbastia commented 1 month ago

Description:

We need 2 tables to hold a report's operation and facility data. Most of that data will be copied over from the registration data when the report is started

This card is about creating the tables to store that data

Acceptance Criteria:

Given I am a developer When a user starts a new report for their operation Then I have a report_operation and a report_facility table to house the data for operations and facilities.

Given I am a developer When I store data in the report_operation table Then I have the following columns:

Given I am a developer When I store data for the reporting activities and the regulated products of the operation Then I can associate them to the report-operation data through a report_operation_activities table

Given I am a developer When I store data in the report_facility table Then I have the following columns:

Given I am a developer When I store data for the reporting activities and the regulated products of the facility Then I can associate them to the report-facility through a report_facility_activites and report_facility_products tables

Development Checklist:

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

Definition of Done (Note: If any of these points are not applicable, mark N/A)

Notes:

-