This commit is contained in:
izuddin
2024-09-24 14:00:49 +07:00
parent d5212f1f89
commit cd56b76e3f
12 changed files with 602 additions and 178 deletions
@@ -15,7 +15,7 @@ class CreateImportBosTable extends Migration
{
Schema::create('data_upload_bos_omspan', function (Blueprint $table) {
$table->id();
$table->string('tahun',4);
$table->smallInteger("no")->nullable();
$table->string("kanwil",100);
$table->string('kppn',50);
@@ -26,13 +26,13 @@ class CreateImportBosTable extends Migration
$table->smallInteger('tahap');
$table->smallInteger('gelombang');
$table->string('npsn_nama_sekolah',100);
$table->string('jenis_satuan_pendidikan',10);
$table->string('jenis_satuan_pendidikan',10)->nullable();
$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('nama',100);
$table->string('jenjang_sekolah',10);
$table->string('no_tgl_sp2d_detail',100);
$table->string('no_sp2d',50);
@@ -0,0 +1,59 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDataBosOmspanTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('data_bos_omspan', function (Blueprint $table) {
$table->id();
$table->string('tahun',4);
$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)->nullable();
$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',100);
$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_bos_omspan');
}
}