Skip to content

Commit 53403df

Browse files
committed
AR Doctor: Ignore migration-only model
1 parent ded7aa5 commit 53403df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.active_record_doctor.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,7 @@
5252
"Day",
5353
"TemporaryDocument"
5454
]
55+
detector :missing_unique_indexes, ignore_models: [
56+
"Migrations::Attachments::CurrentWikiContent"
57+
]
5558
end

0 commit comments

Comments
 (0)