shell bypass 403
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateQuizTestsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('quiz_tests', function (Blueprint $table) {
$table->id();
$table->integer('user_id');
$table->integer('course_id')->nullable();
$table->integer('quiz_id')->nullable();
// $table->integer('question_id');
// $table->integer('ans_id')->nullable();
// $table->string('date')->nullable();
// $table->tinyInteger('status')->default(0);
// $table->tinyInteger('count')->default(1);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('quiz_tests');
}
}