13 lines
276 B
Ruby
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
|