mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 00:36:14 +02:00
git-svn-id: http://svn.redmine.org/redmine/trunk@21458 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 lines
244 B
Ruby
10 lines
244 B
Ruby
class AllowNullVersionEffectiveDate < ActiveRecord::Migration[4.2]
|
|
def self.up
|
|
change_column :versions, :effective_date, :date, :default => nil, :null => true
|
|
end
|
|
|
|
def self.down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|