I don't want to update my timestamp field when update. I need to keep previous datetime in that field. But its updating automatically even I tried following
$data = array(
'start_time' => $start,//previous datetime
'user_id' => $agent_id,
....
);
$this->db->where('id', $chat_id)->update('chat_state', $data );
When I leave $start
or force with previous datetime. Not work in both cases. Its updating with CURRENT TIMESTAMP
in both cases
whats wrong here??