1
0
Fork 0
forked from OpenNeo/impress
impress/db/migrate/20130121193957_create_species.rb
2013-01-24 18:25:59 -06:00

11 lines
234 B
Ruby

class CreateSpecies < ActiveRecord::Migration
def self.up
create_table :species
Species.create_translation_table! :name => :string
end
def self.down
drop_table :species
Species.drop_translation_table!
end
end