CDbCommand falló al ejecutar la sentencia SQL: SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: ‘0000-00-00 00:00:00’ for column ‘modified_at’ at row 1. The SQL statement executed was: UPDATE user_acciones SET id=:yp0, fk_user=:yp1, fk_accion=:yp2, borrado=:yp3, created_at=:yp4, modified_at=:yp5, deleted_at=:yp6 WHERE user_acciones.id=70. Bound with :yp0=70, :yp1=11, :yp2=1, :yp3=1, :yp4=‘2021-04-15 13:07:20’, :yp5=‘0000-00-00 00:00:00’, :yp6=‘2022-12-15 17:06:46’
Buenas a todos tengo el sigueinte error cuando guarda los datos en la tabla el campo es datetime alguien sabe como puedo resolverlo? tiene como default current_time