DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class MigrationClass < ActiveRecord::Migration[4.2] (called from require at bin/rails:4)
6 lines
145 B
Ruby
6 lines
145 B
Ruby
class AddBudgetIdToInvestments < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_reference :budget_investments, :budget, index: true
|
|
end
|
|
end
|