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

Fix DateTime field must cast to 'datetime' in Eloquent model error #97

Closed
cable8mm opened this issue Jan 6, 2025 · 0 comments · Fixed by #98
Closed

Fix DateTime field must cast to 'datetime' in Eloquent model error #97

cable8mm opened this issue Jan 6, 2025 · 0 comments · Fixed by #98
Assignees
Labels
enhancement New feature or request

Comments

@cable8mm
Copy link
Owner

cable8mm commented Jan 6, 2025

PHP Version

8.3

Description

It has not been making cast property in model when a model had datetime type field. cast property is needed.

Steps To Reproduce

  1. Make a table with datetime type field
  2. Run php artisan xeed:models
  3. Check cast property in the model
@cable8mm cable8mm added the enhancement New feature or request label Jan 6, 2025
@cable8mm cable8mm self-assigned this Jan 6, 2025
cable8mm added a commit that referenced this issue Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant