Files
nairobi/db/migrate/20180323190027_add_translate_milestones.rb
2018-05-09 16:05:44 +02:00

13 lines
276 B
Ruby

class AddTranslateMilestones < ActiveRecord::Migration
def self.up
Budget::Investment::Milestone.create_translation_table!({
title: :string,
description: :text
})
end
def self.down
Budget::Investment::Milestone.drop_translation_table!
end
end