mysql - ERROR 1067 (42000): Invalid default value for 'created_at' - Stack Overflow

PHOTO EMBED

Thu Jul 07 2022 05:22:04 GMT+0000 (UTC)

Saved by @mepsd #sql

set global sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';
content_copyCOPY

https://stackoverflow.com/questions/36882149/error-1067-42000-invalid-default-value-for-created-at