How can I use a the current_timestamp feature of a database without a magial column

Hi ,

I’m looking for a way to create columns with a default current_stamp
with the db:migrate feature.

Create a column called created_at with :datetime as the type. You can
also create updated_at in the same way. It will be updated every time
the record is.

-Bill

Dirk wrote:

Hi ,

I’m looking for a way to create columns with a default current_stamp
with the db:migrate feature.


Sincerely,

William P.