SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint Error

前端 未结 0 487
花落未央
花落未央 2020-12-22 16:36

I want to add role column on users table. But I got this error.

My Users migration

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


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