DEV: Ignore foreign key migration in rubocop
We don't want foreign keys in migrations going forward as they can be expensive for large tables. However, we shouldn't be changing old migrations, so we're having rubocop ignore it in this plugin for now.
This commit is contained in:
parent
0bae17dcb6
commit
86c8daf693
|
@ -3,3 +3,6 @@ AllCops:
|
|||
- 'gems/**/*'
|
||||
inherit_gem:
|
||||
rubocop-discourse: default.yml
|
||||
|
||||
Discourse/NoAddReferenceOrAliasesActiveRecordMigration:
|
||||
Enabled: false
|
||||
|
|
Loading…
Reference in New Issue