Laravel - How can i alter an existing referenced column and make it a foreign key column?

后端 未结 0 1972
粉色の甜心
粉色の甜心 2020-12-01 17:44

So in my migration file i have referenced some columns like this:

public function up()
{
    Schema::table(\'products\', function (Blueprint $table) {
                


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