Ruby on rails 使用RubyonRails,如何创建日期时间默认值为2004年1月1日的ActiveRecord迁移

Ruby on rails 使用RubyonRails,如何创建日期时间默认值为2004年1月1日的ActiveRecord迁移,ruby-on-rails,ruby,activerecord,Ruby On Rails,Ruby,Activerecord,这是我的迁移 class AddUpdateStartedAtToToUserMappings < ActiveRecord::Migration def change add_column :user_mappings, :update_started_at, :datetime, default: DateTime.now end end 类addUpdateStartedToToToToUserMappings

这是我的迁移

class AddUpdateStartedAtToToUserMappings < ActiveRecord::Migration
   def change
     add_column :user_mappings, :update_started_at, :datetime, default: DateTime.now
   end 
end
类addUpdateStartedToToToToUserMappings
我希望默认值为2004年1月1日,而不是DateTime.now

我该怎么做

变化:

DateTime.now

更改:

DateTime.now