Use explicit config loading from bin/rubocop
(#33256)
This commit is contained in:
parent
ecdf4ea062
commit
c68eb82ffa
12 changed files with 13 additions and 30 deletions
|
@ -17,7 +17,7 @@ class MigrateSettings < ActiveRecord::Migration[4.2]
|
|||
t.remove_index [:thing_type, :thing_id, :var]
|
||||
t.rename :thing_id, :target_id
|
||||
t.rename :thing_type, :target_type
|
||||
t.column :target_id, :integer, null: false
|
||||
t.column :target_id, :integer, null: false # rubocop:disable Rails/NotNullColumn
|
||||
t.column :target_type, :string, null: false, default: ''
|
||||
t.index [:target_type, :target_id, :var], unique: true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue