phinx icon indicating copy to clipboard operation
phinx copied to clipboard

Can I override addTimestamps?

Open ltdev22 opened this issue 6 years ago • 1 comments

Can I override addTimestamps() method? I don't like some of the default settings it using like the timestamp type for both created_at and updated_at and that only the created_at gets the current timestamp.

I'd like to set both created_at and updated_at as datetime type and default value on both to be NOW(), is that possible some how?

ltdev22 avatar Oct 25 '19 20:10 ltdev22

Does someone want to address this, or make a PR?

dereuromark avatar Dec 16 '19 10:12 dereuromark