cachethq / cachet

🚦 The open-source status page system.
https://cachethq.io
MIT License
13.79k stars 1.55k forks source link

Set the default value for the "reserved" column to 0 (instead of null) #4253

Closed pavog closed 3 years ago

pavog commented 3 years ago

This pr sets the default value for the column "reserved" to 0 (instead of null, the default) in the migration "2019_12_12_131400_AlterJobsDropReserved". This fixes the error "Cannot add a NOT NULL column with default value NULL".

Steps to reproduce:

welcome[bot] commented 3 years ago

Congratulations on opening your first Pull Request, this is a momentous day for you and us! :sparkles: To help us out, please make sure that you've followed the below: