update
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateBelanjaRealisasiRinciDauTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('belanja_realisasi_rinci_dau', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->uuid("belanja_realisasi_id");
|
||||
$table->integer("id_rinci_dau");
|
||||
$table->string('deskripsi', 255);
|
||||
$table->decimal('jml_anggaran',19,2)->nullable();
|
||||
$table->integer('volume_satuan')->nullable();
|
||||
$table->string('unit_satuan',30)->nullable();
|
||||
$table->decimal('jml_realisasi',19,2)->nullable();
|
||||
$table->integer('volume_satuan_realisasi')->nullable();
|
||||
$table->string('unit_satuan_realisasi',30)->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('belanja_realisasi_rinci_dau');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateMstDauRinciTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('mst_dau_rinci', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name', 255);
|
||||
$table->enum('grup',["Pembangunan","Pemberdayaan"])->default("Pembangunan");
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('mst_dau_rinci');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user