mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-18 20:36:01 +01:00
Add index for user_bans.user_id
This commit is contained in:
parent
11535a17a3
commit
68ffa36f7a
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue