Error:
Field 'fromp' doesn't have a default value

Query:
insert into logs(controller,actions,date,ip,users_id) values ('lessons','seasons','1537383063','54.158.52.166','0')