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

Deprecated "dates" property #255

Closed
pizavo opened this issue Mar 6, 2023 · 1 comment
Closed

Deprecated "dates" property #255

pizavo opened this issue Mar 6, 2023 · 1 comment

Comments

@pizavo
Copy link

pizavo commented Mar 6, 2023

In Laravel 10.x Eloquent deprecated "dates" property has been removed and dates should be now put into "casts" property as with any other cast: Changelog

We generate very many files from database and it would be real pain to update every single model and to change its properties according to this change.
Would it be possible to update this feature?

Thank you.

@finiteinfinity
Copy link
Contributor

Hey @pizavo, the v1.2.0 release fixes this very issue, which was released earlier today 👍

https://github.com/reliese/laravel/releases/tag/v1.2.0

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

No branches or pull requests

2 participants