Skip to content

Fix SoftDeletes for null values in the DB (not deleted entries). #144

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

rsamborski
Copy link

Function isDeleted for SoftDeletes returns true even if value of isDeleted is set to null. This fix changes the return value to false in this case.

radnan and others added 5 commits April 12, 2015 15:27
- Tweaked description of `clean` flag to make its usage clearer.
- Made sure to do a `not` on the flag since `$saveMode = false` is what will clean out the database of unneeded assets. So, not providing the `--clean` flag will mean that we only update the tables that have changed and leave everything else as is.
- Make sure the clean flag is used when actually updating the schema and not just used to get the SQL.
fix usage of saveMode via the clean flag
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.

2 participants