mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-16 17:55:56 +08:00
竞赛用户关联优化
This commit is contained in:
7
db/migrate/20230530141227_add_user_action_index.rb
Normal file
7
db/migrate/20230530141227_add_user_action_index.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class AddUserActionIndex < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_index :user_actions, :user_id
|
||||
add_index :user_actions, :action_type
|
||||
add_index :user_actions, :action_id
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user