You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 differenceThe text was updated successfully, but these errors were encountered: