Add Budget::Investment::Status migration

This commit is contained in:
María Checa
2018-03-21 20:15:57 +01:00
committed by decabeza
parent 3e7a53b2c7
commit 7deded142f
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
class AddStatusToMilestones < ActiveRecord::Migration
disable_ddl_transaction!
def change
add_column :budget_investment_milestones, :status_id, :integer
add_index :budget_investment_milestones, :status_id, algorithm: :concurrently
end
end