impress/db/migrate/20100514224031_create_objects.rb

14 lines
235 B
Ruby

class CreateObjects < ActiveRecord::Migration
def self.up
create_table :objects do |t|
t.string :name
t.string :species_support_ids
t.timestamps
end
end
def self.down
drop_table :objects
end
end