1
0
mirror of synced 2026-08-06 07:06:54 +00:00

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:
Justin DiRose
2020-10-20 11:27:32 -05:00
parent 0bae17dcb6
commit 86c8daf693
+3
View File
@@ -3,3 +3,6 @@ AllCops:
- 'gems/**/*'
inherit_gem:
rubocop-discourse: default.yml
Discourse/NoAddReferenceOrAliasesActiveRecordMigration:
Enabled: false