Develop Jadwal Salur DBH
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?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');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateJadwalSalurDetailTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('jadwal_salur_detail', function (Blueprint $table) {
|
||||
$table->uuid('id')->primary();
|
||||
$table->string('id_jadwal_salur', 50);
|
||||
$table->tinyInteger('bulan');
|
||||
$table->decimal('jumlah', 19, 2);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('jadwal_salur_detail');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreatePendapatanJadwalSalurTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('pendapatan_jadwal_salur', function (Blueprint $table) {
|
||||
$table->uuid('id')->primary();
|
||||
$table->string('tahun', 4);
|
||||
$table->decimal('perpres', 19, 2);
|
||||
$table->decimal('apbd', 19, 2);
|
||||
$table->decimal('jumlah', 19, 2);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('pendapatan_jadwal_salur');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreatePendapatanJadwalSalurDetailTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('pendapatan_jadwal_salur_detail', function (Blueprint $table) {
|
||||
$table->uuid('id')->primary();
|
||||
$table->string('id_pendapatan_jadwal_salur', 50);
|
||||
$table->tinyInteger('bulan');
|
||||
$table->decimal('jumlah', 19, 2);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('pendapatan_jadwal_salur_detail');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateJadwalSalurDetailRinciTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('jadwal_salur_detail_rinci', function (Blueprint $table) {
|
||||
$table->uuid('id')->primary();
|
||||
$table->string('id_jadwal_salur_detail', 50);
|
||||
$table->string('tahun', 4);
|
||||
$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_detail_rinci');
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateJadwalSalurDetailRinciDetailTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('jadwal_salur_detail_rinci_detail', function (Blueprint $table) {
|
||||
$table->uuid('id')->primary();
|
||||
$table->string('id_jadwal_salur_detail_rinci', 50);
|
||||
$table->tinyInteger('bulan');
|
||||
$table->decimal('jumlah', 19, 2);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('jadwal_salur_detail_rinci_detail');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user