In my app I have teams and each team has a game time every week. I want the game times to be set to \'now\' as a default. My table is set up like so
create_
Since Rails 5 you can make a migration like this:
change_column_default :users, :wk1_time, -> { 'CURRENT_TIMESTAMP' }
In my mind this is the best option because it not database specific answer.