Open EmmaTellblom opened 3 months ago
Is this necessary? Amount of data required for calculation is minimal. Is calculation + comparison not fast enough to be done on the fly? Perhaps designing the equations smartly could even hold current calculated values to minimize new calculations to triviality.
Title
Create Database Tables for Storing Period and Ovulation Predictions
Description
To enhance user experience by showing the difference between expected and actual dates for periods and ovulation, we need to create two new database tables. These tables will store both period and ovulation predictions.
Objectives
Required Tables
Period Predictions Table
period_predictions
id
: Unique identifier for each prediction (Primary Key).date
: The predicted date for the next period.cycle_id
: Reference to the cycle for which the prediction is made. (forgeign key)Ovulation Predictions Table
ovulation_predictions
id
: Unique identifier for each prediction (Primary Key).date
: The predicted date for ovulation.cycle_id
: Reference to the cycle for which the prediction is made. (forgeign key)Requirements
Acceptance Criteria
period_predictions
andovulation_predictions
are created and integrated into the existing database.Additional Notes
Please provide feedback or additional suggestions on the table design and implementation.