blob: 2c1b1780d1085f57514ad56dd33498da8e806429 (
plain)
1
2
3
4
5
6
7
8
9
|
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
|