kopia lustrzana
https://github.com/redmine/redmine.git
synced 2024-08-30 05:58:03 +02:00
10 wiersze
232 B
Ruby
10 wiersze
232 B
Ruby
|
class AddParentIdToEnumerations < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
add_column :enumerations, :parent_id, :integer, :null => true, :default => nil
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_column :enumerations, :parent_id
|
||
|
end
|
||
|
end
|