Update
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateImportBosTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('data_upload_bos_omspan', function (Blueprint $table) {
|
||||
$table->id();
|
||||
|
||||
$table->smallInteger("no")->nullable();
|
||||
$table->string("kanwil",100);
|
||||
$table->string('kppn',50);
|
||||
$table->string('lokasi_kewenangan',50);
|
||||
$table->string('lokasi_sekolah',20);
|
||||
$table->string('no_tgl_sk',50);
|
||||
$table->string('jenis_bos',20);
|
||||
$table->smallInteger('tahap');
|
||||
$table->smallInteger('gelombang');
|
||||
$table->string('npsn_nama_sekolah',100);
|
||||
$table->string('jenis_satuan_pendidikan',10);
|
||||
$table->string('status_sekolah',30);
|
||||
$table->string('bank',30);
|
||||
$table->string('no_rekening_nama_rekening',150);
|
||||
$table->string('npsn',30);
|
||||
$table->string('rekening',30);
|
||||
$table->string('nama',10);
|
||||
$table->string('jenjang_sekolah',10);
|
||||
$table->string('no_tgl_sp2d_detail',100);
|
||||
$table->string('no_sp2d',50);
|
||||
$table->date('tgl_sp2d');
|
||||
$table->string('status',50);
|
||||
$table->decimal('nilai',18,2);
|
||||
$table->decimal('pagu',18,2);
|
||||
$table->integer('jmlh_siswa',50);
|
||||
$table->string('ket_retur',100)->nullable();
|
||||
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('data_upload_bos_omspan');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user