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

Unable to use static timestamps = true; #344

Open
mast3rd3mon opened this issue May 23, 2022 · 0 comments
Open

Unable to use static timestamps = true; #344

mast3rd3mon opened this issue May 23, 2022 · 0 comments

Comments

@mast3rd3mon
Copy link

I'm trying to use timestamps in my models so that I don't have to worry about them manually. When I have it set to true, I get the following error Invalid default value for 'created_at'. This only occurs when I enable timestamps and setting the default values doesn't change anything. I'm using a mysql database if that makes a difference

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