update module senior officer

This commit is contained in:
majid
2024-09-11 08:31:47 +07:00
parent a51d5fbeff
commit f9fea10607
26 changed files with 1881 additions and 227 deletions

View File

@@ -3,7 +3,8 @@
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Modules\Lpj\Models\Penilaian;
use Modules\Lpj\Models\JenisPenilaian;
use Modules\Lpj\Models\Teams;
return new class extends Migration
{
@@ -14,9 +15,9 @@ return new class extends Migration
{
Schema::create('penilaian', function (Blueprint $table) {
$table->id();
$table->foreignIdFor(Penilaian::class);
$table->foreignIdFor(JenisPenilaian::class);
$table->foreignIdFor(Teams::class);
$table->foreignIdFor(Users::class);
$table->unsignedBigInteger('user_id');
$table->datetime('tanggal_kunjungan');
$table->text('keterangan');
$table->char('status');
@@ -28,7 +29,7 @@ return new class extends Migration
$table->unsignedBigInteger('updated_by')->nullable();
$table->unsignedBigInteger('deleted_by')->nullable();
$table->unsignedBigInteger('authorized_by')->nullable();
});
}