José Mota Wed Oct 06 12:09:50 -0400 2010

Subject: [SOLVED] created_at gets updated everytime I save a record

Hi guys, my records' created_at timestamp are always changed, even if the records are already there.

Example code

function show() {
$resource = Resource::find($id);

I have checked the database. The record's timestamps (both) change to the current timestamp.

UPDATE: My bad. I had a bad create table statement.