Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun
commit
0b06f4c493
@ -0,0 +1,7 @@
|
|||||||
|
class AddIndexToUser < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
# add_index :users, :login, unique: true
|
||||||
|
# add_index :users, :mail, unique: true
|
||||||
|
# add_index :users, :phone, unique: true
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in new issue