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

[BUG] Migration Generator throws an error if timestamps are disabled in the config #1068

Open
billysmithers opened this issue Mar 3, 2023 · 1 comment

Comments

@billysmithers
Copy link
Contributor

The MigrationGenerator class is throwing an error as it is looking for the name property on the $createdAtField object that may be null, same with the $updatedAtField.

The fix is to null coalesce in the if statement on line 63.

@billysmithers
Copy link
Contributor Author

PR here - #1071

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

1 participant