database/migrations/2024_09_27_053102_add_consultation_teacher_table.php
Call to method foreign
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->foreign('teacher_id')->references('id')->on('users')->onDelete('CASCADE');
- Exclude checks
Call to method foreign
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->foreign('consultation_id')->references('id')->on('consultations')->onDelete('CASCADE');
- Exclude checks
Parameter $table
has undeclared type \Illuminate\Database\Schema\Blueprint
Open
Open
Schema::create('consultation_teachers', function (Blueprint $table) {
- Exclude checks
Call to method id
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->id();
- Exclude checks
Call to method bigInteger
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->bigInteger('teacher_id')->unsigned();
- Exclude checks
Class extends undeclared class \Illuminate\Database\Migrations\Migration
Open
Open
return new class extends Migration
- Exclude checks
Call to method bigInteger
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->bigInteger('consultation_id')->unsigned()->index();
- Exclude checks
Call to method dropIfExists
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::dropIfExists('consultation_teachers');
- Exclude checks
Call to method create
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::create('consultation_teachers', function (Blueprint $table) {
- Exclude checks