Browse Source

ADD index for users tables

tags/v1.0.0
Jasder 5 years ago
parent
commit
f792f298b6
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      db/migrate/20200929062837_add_index_to_users_type.rb

+ 5
- 0
db/migrate/20200929062837_add_index_to_users_type.rb View File

@@ -0,0 +1,5 @@
class AddIndexToUsersType < ActiveRecord::Migration[5.2]
def change
add_index :users, :type
end
end

Loading…
Cancel
Save