-
-
Notifications
You must be signed in to change notification settings - Fork 394
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
fix: deleted_at
column has date type rather than string
#1124
Conversation
…SoftDeletesTz`) to be a `Carbon` instance.
Nice! I think you should get the date type from |
…ns the instance which can set by the user in the service provider.
Is there anything I can do to improve this PR? |
I think no, you can't. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
Sorry for the late response.
It looks ok. Even though I don't like the get_class(Date::now))
call, for now it's fine I guess.
…d adds it to the date columns for the model instance.
I've submitted a few commits with changes to the PR in line with the earlier discussion. Let me know if I can do anything else to improve this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. One small nitpick I wrote. After that we can merge!
deleted_at
columns to be Carbon
instancedeleted_at
column has date type rather than string
Looks good. Thank you! |
Resolves #1051
Changes
This updates the
SchemaAggregator
to readSoftDeletes
andSoftDeletesTz
columns asCarbon
instances instead of strings.