update module senior officer
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user