Maintenance DBH dan DAK
This commit is contained in:
+2
-2
@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateDbhPendapatanRealisasiTable extends Migration
|
||||
class CreatePendapatanRealisasiTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -13,7 +13,7 @@ class CreateDbhPendapatanRealisasiTable extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('dbh_pendapatan_realisasi', function (Blueprint $table) {
|
||||
Schema::create('pendapatan_realisasi', function (Blueprint $table) {
|
||||
$table->uuid('id')->primary();
|
||||
$table->string('tahun',4);
|
||||
$table->integer('id_sps')->nullable();
|
||||
@@ -28,11 +28,13 @@ class CreateTempRealisasiBelanjaTable extends Migration
|
||||
$table->string("nama_sub_kegiatan",150);
|
||||
$table->string("kode_rsk",50);
|
||||
$table->text("nama_rsk");
|
||||
$table->string("kode_rekening",50);
|
||||
$table->string("nama_rekening",150);
|
||||
$table->string("kode_rekening",50)->nullable();
|
||||
$table->string("nama_rekening",150)->nullable();
|
||||
$table->decimal('jumlah_anggaran', 19, 2);
|
||||
$table->tinyInteger('volume_satuan');
|
||||
$table->string('unit_satuan',30);
|
||||
$table->enum('jenis_dana',["DBH","DAK"]);
|
||||
$table->enum('sub_jenis_dana',["All","CHT","Fisik","Non-Fisik"]);
|
||||
$table->uuid('userid');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
+6
-5
@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateDbhBelanjaRealisasiTable extends Migration
|
||||
class CreateBelanjaRealisasiTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -13,7 +13,7 @@ class CreateDbhBelanjaRealisasiTable extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('dbh_belanja_realisasi', function (Blueprint $table) {
|
||||
Schema::create('belanja_realisasi', function (Blueprint $table) {
|
||||
$table->uuid('id')->primary();
|
||||
$table->string("tahun_anggaran",4);
|
||||
$table->string("jenis_belanja",50);
|
||||
@@ -28,8 +28,8 @@ class CreateDbhBelanjaRealisasiTable extends Migration
|
||||
$table->string("nama_sub_kegiatan",150);
|
||||
$table->string("kode_rsk",50);
|
||||
$table->text("nama_rsk");
|
||||
$table->string("kode_rekening",50);
|
||||
$table->string("nama_rekening",150);
|
||||
$table->string("kode_rekening",50)->nullable();
|
||||
$table->string("nama_rekening",150)->nullable();
|
||||
$table->decimal('jumlah_anggaran', 19, 2);
|
||||
$table->tinyInteger('volume_satuan');
|
||||
$table->string('unit_satuan',30);
|
||||
@@ -38,6 +38,7 @@ class CreateDbhBelanjaRealisasiTable extends Migration
|
||||
$table->string('unit_satuan_realisasi',30)->nullable();
|
||||
$table->string("no_sp2d",30);
|
||||
$table->uuid('realisasi_by')->nullable();
|
||||
$table->uuid('created_by')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
@@ -49,6 +50,6 @@ class CreateDbhBelanjaRealisasiTable extends Migration
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('dbh_belanja_realisasi');
|
||||
Schema::dropIfExists('belanja_realisasi');
|
||||
}
|
||||
}
|
||||
+3
-3
@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateDbhBelanjaRealisasiDetailTable extends Migration
|
||||
class CreateBelanjaRealisasiDetailTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -13,7 +13,7 @@ class CreateDbhBelanjaRealisasiDetailTable extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('dbh_belanja_realisasi_detail', function (Blueprint $table) {
|
||||
Schema::create('belanja_realisasi_detail', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->uuid("dbh_belanja_realisasi_id");
|
||||
$table->decimal('jumlah_realisasi', 19, 2);
|
||||
@@ -32,6 +32,6 @@ class CreateDbhBelanjaRealisasiDetailTable extends Migration
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('dbh_belanja_realisasi_detail');
|
||||
Schema::dropIfExists('belanja_realisasi_detail');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user