Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started