We accidentally changed the schema when modifying an existing migration.
It wasn't critical because we're going to remove that table in the
future, but it resulted in conflicts for users who had already run the
migration before its modification.
This commit fixes commit 4a7f479.
21 lines
737 B
Ruby
21 lines
737 B
Ruby
class AddTranslateMilestones < ActiveRecord::Migration
|
|
def change
|
|
create_table :budget_investment_milestone_translations do |t|
|
|
t.integer :budget_investment_milestone_id, null: false
|
|
t.string :locale, null: false
|
|
t.timestamps null: false
|
|
t.string :title
|
|
t.text :description
|
|
|
|
end
|
|
|
|
add_index :budget_investment_milestone_translations,
|
|
:budget_investment_milestone_id,
|
|
name: "index_6770e7675fe296cf87aa0fd90492c141b5269e0b"
|
|
|
|
add_index :budget_investment_milestone_translations,
|
|
:locale,
|
|
name: "index_budget_investment_milestone_translations_on_locale"
|
|
end
|
|
end
|