DML
This commit is contained in:
parent
588982ebff
commit
5c04b31ecd
@ -26,6 +26,7 @@ public function up(): void
|
|||||||
$table->foreignId('current_team_id')->nullable();
|
$table->foreignId('current_team_id')->nullable();
|
||||||
$table->string('profile_photo_path')->nullable();
|
$table->string('profile_photo_path')->nullable();
|
||||||
$table->foreignIdFor(Institute::class)->nullable()->index();
|
$table->foreignIdFor(Institute::class)->nullable()->index();
|
||||||
|
$table->string('timezone')->default('Asia/Dhaka');
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use App\Models\Enums\ReportStatus;
|
||||||
use App\Models\Enums\StudyAccessFlags;
|
use App\Models\Enums\StudyAccessFlags;
|
||||||
|
use App\Models\Enums\StudyLevelStatus;
|
||||||
use App\Models\Institute;
|
use App\Models\Institute;
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
use Illuminate\Database\Migrations\Migration;
|
use Illuminate\Database\Migrations\Migration;
|
||||||
@ -30,7 +32,8 @@ public function up(): void
|
|||||||
$table->dateTime('receive_date');
|
$table->dateTime('receive_date');
|
||||||
$table->dateTime('report_date')->nullable();
|
$table->dateTime('report_date')->nullable();
|
||||||
$table->foreignIdFor(Institute::class)->constrained()->onDelete('cascade');
|
$table->foreignIdFor(Institute::class)->constrained()->onDelete('cascade');
|
||||||
$table->unsignedTinyInteger('report_status')->default(0);
|
$table->unsignedTinyInteger('study_status')->default(StudyLevelStatus::None->value);
|
||||||
|
$table->unsignedTinyInteger('report_status')->default(ReportStatus::Pending->value);
|
||||||
$table->unsignedSmallInteger('image_count')->default(0);
|
$table->unsignedSmallInteger('image_count')->default(0);
|
||||||
$table->unsignedSmallInteger('series_count')->default(0);
|
$table->unsignedSmallInteger('series_count')->default(0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user