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`.
7 lines
217 B
Ruby
7 lines
217 B
Ruby
class AddActionsToValuators < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_column :valuators, :can_comment, :boolean, default: true
|
|
add_column :valuators, :can_edit_dossier, :boolean, default: true
|
|
end
|
|
end
|