Your IP : 18.189.170.65


Current Path : /home/lentoinv/api.lentoria.com/database/migrations/
Upload File :
Current File : /home/lentoinv/api.lentoria.com/database/migrations/2022_07_26_081602_create_course_infos_table.php

<?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');
    }
};

?>