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 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
Get step-by-step solutions from verified subject matter experts
