@@ -160,8 +160,9 @@ Rails/AddColumnIndex:
160
160
index might be used.
161
161
Enabled : pending
162
162
VersionAdded : ' 2.11'
163
+ VersionChanged : ' <<next>>'
163
164
Include :
164
- - db/migrate /*.rb
165
+ - db/** /*.rb
165
166
166
167
Rails/AfterCommitOverride :
167
168
Description : >-
@@ -249,12 +250,13 @@ Rails/BulkChangeTable:
249
250
- https://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/Table.html
250
251
Enabled : true
251
252
VersionAdded : ' 0.57'
253
+ VersionChanged : ' <<next>>'
252
254
Database : null
253
255
SupportedDatabases :
254
256
- mysql
255
257
- postgresql
256
258
Include :
257
- - db/migrate /*.rb
259
+ - db/** /*.rb
258
260
259
261
Rails/CompactBlank :
260
262
Description : ' Checks if collection can be blank-compacted with `compact_blank`.'
@@ -284,14 +286,15 @@ Rails/CreateTableWithTimestamps:
284
286
when creating a new table.
285
287
Enabled : true
286
288
VersionAdded : ' 0.52'
289
+ VersionChanged : ' <<next>>'
287
290
Include :
288
- - db/migrate /*.rb
291
+ - db/** /*.rb
289
292
Exclude :
290
293
# Respect the `active_storage_variant_records` table of `*_create_active_storage_tables.active_storage.rb`
291
294
# and `*_create_active_storage_variant_records.active_storage.rb`
292
295
# auto-generated by `bin/rails active_storage:install` even if `created_at` is not specified.
293
- - db/migrate /*_create_active_storage_tables.active_storage.rb
294
- - db/migrate /*_create_active_storage_variant_records.active_storage.rb
296
+ - db/** /*_create_active_storage_tables.active_storage.rb
297
+ - db/** /*_create_active_storage_variant_records.active_storage.rb
295
298
296
299
Rails/Date :
297
300
Description : >-
@@ -648,8 +651,9 @@ Rails/MigrationClassName:
648
651
Description : ' The class name of the migration should match its file name.'
649
652
Enabled : pending
650
653
VersionAdded : ' 2.14'
654
+ VersionChanged : ' <<next>>'
651
655
Include :
652
- - db/migrate /*.rb
656
+ - db/** /*.rb
653
657
654
658
Rails/NegateInclude :
655
659
Description : ' Prefer `collection.exclude?(obj)` over `!collection.include?(obj)`.'
@@ -663,8 +667,9 @@ Rails/NotNullColumn:
663
667
Description : ' Do not add a NOT NULL column without a default value.'
664
668
Enabled : true
665
669
VersionAdded : ' 0.43'
670
+ VersionChanged : ' <<next>>'
666
671
Include :
667
- - db/migrate /*.rb
672
+ - db/** /*.rb
668
673
669
674
Rails/OrderById :
670
675
Description : >-
0 commit comments