cachethq / core

🚦 The core of Cachet, the open-source status page system.
https://cachethq.io
MIT License
102 stars 20 forks source link

Fix incident components relation #1

Closed amaelftah closed 10 months ago

amaelftah commented 10 months ago

in this PR i have noticied the Component model and ComponentStatusEnum

also i have noticed the migration change in the incidents table... which made me think that this change maybe introduced for backward compatibility when upgrading from older version of cachet

image

so based on the above I have modified the status_id column on incident_components and made it null

hopefully am right about my thoughts 😂

jbrooksuk commented 10 months ago

Thanks!