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

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

Merged
merged 1 commit into from
Apr 1, 2021

Conversation

pavog
Copy link
Contributor

@pavog pavog commented Mar 31, 2021

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:

  • Clone the repo
  • Run phpunit

Fixes the error "Cannot add a NOT NULL column with default value NULL"
@welcome
Copy link

welcome bot commented Mar 31, 2021

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

@jbrooksuk jbrooksuk merged commit cf86f65 into cachethq:2.4 Apr 1, 2021
@pavog pavog deleted the patch-1 branch April 1, 2021 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants