forked from OpenNeo/impress
11 lines
234 B
Ruby
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
|