impress/db/migrate/20121006010446_add_explicitly_body_specific_to_objects.rb

10 lines
269 B
Ruby
Raw Permalink Normal View History

class AddExplicitlyBodySpecificToObjects < ActiveRecord::Migration[4.2]
2012-10-05 18:56:52 -07:00
def self.up
add_column :objects, :explicitly_body_specific, :boolean, :null => false, :default => false
end
def self.down
remove_column :objects, :explicitly_body_specific
end
end