Merge remote-tracking branch 'composer/feature/senior-officer' into staging

This commit is contained in:
Daeng Deni Mardaeni
2024-09-23 11:52:40 +07:00
10 changed files with 449 additions and 277 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->string('status')->nullable();
$table->string('nomor_registrasi')->references('nomor_registrasi')->on(Permohonan::class)->nullable();
$table->integer('penilaian_id')->nullable();
$table->integer('surveyor_id')->nullable();
$table->integer('penilai_surveyor_id')->nullable();
$table->timestamps();
$table->char('authorized_status', 1)->nullable();
$table->timestamp('authorized_at')->nullable();