Laravel migration unique still allowing the same entry

前端 未结 0 915
抹茶落季
抹茶落季 2021-01-21 13:33

I have a table migration where I try to force validation of a phone_number field as unique:

Schema::create(\'users\', function (Blueprint $table) {
        $table         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题