Melakukan penambahan menu
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 CreateSisaSalurDanaTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('sisa_salur_dana', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string("tahun",50);
|
||||
$table->string("kode_rekening",50);
|
||||
$table->string('jumlah',50);
|
||||
$table->string("dokumen",100)->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('sisa_salur_dana');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user