Question : #1067 - invalid default value for 'created_at'
Answered by : muddy-manatee-ih728lltgukz
set global sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';
Source : https://stackoverflow.com/questions/36882149/error-1067-42000-invalid-default-value-for-created-at | Last Update : Wed, 09 Mar 22
Question : #1067 - Invalid default value for 'updated_at'
Answered by :
set global sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';
Source : https://stackoverflow.com/questions/36882149/error-1067-42000-invalid-default-value-for-created-at | Last Update : Fri, 30 Apr 21