Add index for `user_bans.user_id`
This commit is contained in:
parent
11535a17a3
commit
68ffa36f7a
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddIndexOnUserBansUserId < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_index :user_bans, :user_id
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue