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:
@@ -3,3 +3,6 @@ AllCops:
|
||||
- 'gems/**/*'
|
||||
inherit_gem:
|
||||
rubocop-discourse: default.yml
|
||||
|
||||
Discourse/NoAddReferenceOrAliasesActiveRecordMigration:
|
||||
Enabled: false
|
||||
|
||||
Reference in New Issue
Block a user