penambahan field di table penilaiaan

This commit is contained in:
majid
2024-09-19 11:17:53 +07:00
parent f679b7ea74
commit 32fe243336
6 changed files with 39 additions and 7 deletions

View File

@@ -5,6 +5,7 @@ use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Modules\Lpj\Models\JenisPenilaian;
use Modules\Lpj\Models\Teams;
use Modules\Lpj\Models\Permohonan;
return new class () extends Migration {
/**
@@ -16,11 +17,13 @@ return new class () extends Migration {
$table->id();
$table->foreignIdFor(JenisPenilaian::class);
$table->foreignIdFor(Teams::class);
$table->unsignedBigInteger('user_id');
$table->datetime('tanggal_kunjungan');
$table->text('keterangan')->nullable();
$table->char('status');
$table->integer('permohonan_id');
$table->foreignIdFor(Permohonan::class)->nullable();
$table->integer('penilaian_id');
$table->integer('surveyor_id')->nullable();
$table->integer('penilai_surveyor_id')->nullable();
$table->timestamps();
$table->char('authorized_status', 1)->nullable();
$table->timestamp('authorized_at')->nullable();