mysql - Active record do not send created at and updated at -


we have table columns: created_at datetime not null default current_timestamp, updated_at datetime not null default current_timestamp on update current_timestamp,

when updating active record insert query contains created_at , updated_at columns.

even after setting config.active_record.record_timestamps = false active record sending created_at , updated_at null.

is there way not send these columns @ want handle @ mysql level.

as far mysql concerned, updated_on columns should per below auto update-

updated_at timestamp not null default current_timestamp on update current_timestamp 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -