We forgot to add these changes to pull requests which were in development before we upgraded to Rails 5. We're also moving the rubocop rules to the basic files, so we're notified when we inherit from `ActiveRecord::Base`.
14 lines
320 B
Ruby
14 lines
320 B
Ruby
class CreateBudgetInvestmentChangeLogs < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :budget_investment_change_logs do |t|
|
|
t.integer :investment_id
|
|
t.integer :author_id
|
|
t.string :field
|
|
t.string :new_value
|
|
t.string :old_value
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|