Showing 1,241 of 1,241 total issues
Call to method foreign
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->foreign('user_id')->references('id')->on('users')->onDelete('SET NULL');
- 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
Call to method unsignedBigInteger
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->unsignedBigInteger('user_id');
- Exclude checks
Call to method renameColumn
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->renameColumn('active_to', 'finished_at');
- Exclude checks
Call to method unsignedBigInteger
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->unsignedBigInteger('consultation_id');
- 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::table('consultations', function (Blueprint $table) {
- Exclude checks
Parameter $table
has undeclared type \Illuminate\Database\Schema\Blueprint
Open
Open
Schema::table('consultation_user', function (Blueprint $table) {
- Exclude checks
Call to method dropIfExists
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::dropIfExists('consultation_terms');
- Exclude checks
Call to method unique
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->unique(['user_id', 'consultation_id'], 'consultation_user_unique');
- Exclude checks
Call to method string
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->string('executed_status')->nullable();
- Exclude checks
Call to method dropColumn
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->dropColumn('logotype_path');
- Exclude checks
Call to method hasTable
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
if (Schema::hasTable('orders')) {
- Exclude checks
Call to method hasTable
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
if (Schema::hasTable('products')) {
- Exclude checks
Call to method table
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::table('consultations', 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 foreign
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->foreign('user_id')->on('users')->references('id');
- Exclude checks
Call to method foreignId
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->foreignId('consultation_user_id')->references('id')->on('consultation_user')->onDelete('cascade');
- Exclude checks
Call to method string
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->string('reminder_status', 30)->nullable();
- Exclude checks
Reference to constant TUTOR
from undeclared class \EscolaLms\Core\Enums\UserRole
Open
Open
$tutor = Role::findOrCreate(UserRole::TUTOR, 'api');
- Exclude checks