mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-21 20:25:45 +08:00
ADD index for users tables
This commit is contained in:
5
db/migrate/20200929062837_add_index_to_users_type.rb
Normal file
5
db/migrate/20200929062837_add_index_to_users_type.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddIndexToUsersType < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_index :users, :type
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user