Your IP : 18.189.170.65
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('course_infos', function (Blueprint $table) {
$table->id();
$table->integer('course_id');
$table->text('what_you_will_learn')->nullable();
$table->text('course_requirement')->nullable();
$table->text('course_audience')->nullable();
$table->text('purpose')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('course_infos');
}
};