Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move cost models from incident to incident types #4647

Merged
merged 13 commits into from May 3, 2024

Conversation

metroid-samus
Copy link
Contributor

  • Adds cost_model field to IncidentType.

  • Removes cost_model field from Incident.

  • Updates cost model and incident type documentation.

  • Immediately recalculates incident costs if either of the criteria is met:

    • An incident changes its incident_type
    • An IncidentType changes its cost_model.

    This change requires a database upgrade.

@metroid-samus metroid-samus added the enhancement New feature or request label Apr 22, 2024
@metroid-samus metroid-samus self-assigned this Apr 22, 2024
@metroid-samus metroid-samus marked this pull request as ready for review April 22, 2024 23:35
@metroid-samus metroid-samus merged commit 4f04001 into master May 3, 2024
8 checks passed
@metroid-samus metroid-samus deleted the enhancement/incident-type-cost-model branch May 3, 2024 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants