impress/db/migrate/20121006010446_add_explicitly_body_specific_to_objects.rb

9 lines
264 B
Ruby

class AddExplicitlyBodySpecificToObjects < ActiveRecord::Migration
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