lpj/database/migrations/2024_09_18_084905_create_kjpp_table.php

50 lines
1.5 KiB
PHP
Raw Normal View History

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('kjpp', function (Blueprint $table) {
$table->id();
$table->string('nomor');
$table->string('nama_kjpp');
$table->string('kantor_pusat');
$table->string('nomor_ijin_usaha');
$table->string('kota');
$table->date('kerjasama_sejak');
$table->text('alamat_kantor');
$table->string('no_tlp_kantor', 15);
$table->string('alamat_email');
$table->string('nama_pimpinan_kantor');
$table->string('no_hp_pimpinan', 15);
$table->string('nama_pic_reviewer');
$table->string('no_pic_reviewer', 15);
$table->string('nama_pic_admin');
$table->string('no_pic_admin', 15);
$table->string('nama_pic_marketing');
$table->string('no_pic_marketing', 15);
$table->json('ijin_usaha');
$table->json('pengalaman');
$table->string('company_name');
$table->string('ijin_ijin');
$table->string('npwp');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('kjpp');
}
};