This commit is contained in:
Pusdatin BPKD Jkt
2022-07-26 11:30:33 +07:00
parent 23c3bedfcc
commit 893fd463c7
9 changed files with 59 additions and 167 deletions
@@ -1,37 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSalurDanaTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('salur_dana', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->date('tgl_salur');
$table->string('kode_skpd', 50);
$table->string('kode_sub_kegiatan', 50);
$table->double('jumlah', 19, 2);
$table->datetime('approved_at');
$table->string('approved_by',36);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('salur_dana');
}
}
@@ -1,37 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSalurDanaDetailsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('salur_dana_details', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->string('salur_dana_id', 36);
$table->string('kode_rsk', 50);
$table->string('kode_rekening', 50);
$table->double('jumlah_salur_anggaran', 19, 2);
$table->double('jumlah_salur_skpd', 19, 2);
$table->double('jumlah_salur_realisasi', 19, 2);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('salur_dana_details');
}
}
@@ -1,44 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateJadwalSalurTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('jadwal_salur', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->string('id_pendapatan_jadwal_salur', 50);
$table->string('tahun', 4);
$table->string('kode_akun', 50);
$table->string('nama_akun', 150);
$table->decimal('perpres', 19, 2);
$table->decimal('apbd', 19, 2);
$table->string('pmk', 50);
$table->string('pmk_pasal', 30);
$table->tinyInteger('pmk_I');
$table->tinyInteger('pmk_II');
$table->tinyInteger('pmk_III');
$table->tinyInteger('pmk_IV');
$table->decimal('jumlah', 19, 2);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('jadwal_salur');
}
}