Question: Complete the up, function to add a foreign key on the user_id field that references id on the users table public function up() { Scheme:

 Complete the up, function to add a foreign key on the

Complete the up, function to add a foreign key on the user_id field that references id on the users table public function up() { Scheme: :create('comment s', function (Blueprint $table) { $table->biincrements('id'); $table->unsignedBigInteger '); $table->foreign ')->references - yon "); } Complete the migration to add a string called flight_number to the table. public function upo) { Scheme: : create('flights', function (Blueprint $table) { $table->biincrements('id'); $table-> '); $table-timestamps(); }); }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!