spec/dummy/db/migrate/20140819181403_create_things.rb
class CreateThings < ActiveRecord::Migration
def up
create_table :things do |t|
end
Thing.create_translation_table!({
name: {type: :string, null: false, default: ''},
})
end
def down
drop_table :things
Thing.drop_translation_table!
end
end