id(); $table->string('code'); $table->string('name'); $table->string('jenis_kantor'); $table->string('nomor_ijin_usaha'); $table->string('province_code'); $table->string('city_code'); $table->string('district_code'); $table->string('village_code'); $table->string('address'); $table->string('postal_code'); $table->string('nomor_telepon_kantor'); $table->string('email_kantor'); $table->string('nomor_hp_pimpinan'); $table->string('nama_pic_reviewer'); $table->string('nomor_hp_pic_reviewer'); $table->string('nama_pic_admin'); $table->string('nomor_hp_pic_admin'); $table->string('nama_pic_marketing'); $table->string('nomor_hp_pic_marketing'); $table->foreignId('ijin_usaha_id')->constrained()->onDelete('cascade'); $table->foreignId('jenis_aset_id')->constrained()->onDelete('cascade'); $table->string('attachment'); $table->boolean('status')->default(true)->nullable(); $table->char('authorized_status', 1)->nullable(); $table->timestamp('authorized_at')->nullable(); $table->unsignedBigInteger('authorized_by')->nullable(); $table->softDeletes(); $table->unsignedBigInteger('deleted_by')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('kjpp'); } };