Your IP : 3.128.94.112


Current Path : /home/lentoinv/api.lentoria.com/database/migrations/
Upload File :
Current File : //home/lentoinv/api.lentoria.com/database/migrations/2022_07_26_085312_add_info_to_course_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::table('courses', function (Blueprint $table) {
            $table->string('slug');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('courses', function (Blueprint $table) {
            //
        });
    }
};

?>