Im trying to write a migration in which I have a field to datetime..
Right now my migration for field is like this..
t.datetime :date, default: Time.now
I know that this will create a default time at which migration ran.. and it will be set to all fields..
But what i want is to have a default time at which that row field will be getting created.Like the same as created_at