Reputation: 4513
Here is my migration
class AddUpdateStartedAtToToUserMappings < ActiveRecord::Migration
def change
add_column :user_mappings, :update_started_at, :datetime, default: DateTime.now
end
end
I want the default to be January 1st, 2004 not DateTime.now
How do I do this?
Upvotes: 1
Views: 34