NYCPHP Meetup

NYPHP.org

[nycphp-talk] mysql: timestamp issue?

Matt Juszczak matt at atopia.net
Wed Jul 2 00:16:39 EDT 2008


> `edi_updated` timestamp NOT NULL default CURRENT_TIMESTAMP on update
>  CURRENT_TIMESTAMP,

Shouldn't it auto update by default?

alter table <tablename> modify edi_updated timestamp NOT NULL;

Wouldn't that auto update it anyway?



More information about the talk mailing list