Data SPD
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateBelanjaRealisasiSpdTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('belanja_realisasi_spd', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('id_rsk');
|
||||
$table->string('no_spd', 50);
|
||||
$table->date('tgl');
|
||||
$table->decimal('jumlah', 19, 2);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('belanja_realisasi_spd');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user