Browse Source

提交代码

pull/2523/head
ychao_1983 2 years ago
parent
commit
eeea057bd8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/custom_migrations.go

+ 1
- 1
models/custom_migrations.go View File

@@ -17,7 +17,7 @@ type CustomMigrationStatic struct {

var customMigrations = []CustomMigration{
//手机号功能可以不启用,不启用时手机号为空串,为了避免启用时唯一性约束报错,定制唯一性约束(对null和空字符串不做唯一性检查)
{"set phone number unique index", setPhoneNumberUniqueIndex},
//{"set phone number unique index", setPhoneNumberUniqueIndex},
}

var customMigrationsStatic []CustomMigrationStatic


Loading…
Cancel
Save