laporan file dan spd pada dbh

This commit is contained in:
Pusdatin BPKD Jkt
2022-10-27 14:44:04 +07:00
parent 2edffa6584
commit 2df12fe3d2
17 changed files with 596 additions and 45 deletions
@@ -13,8 +13,15 @@ class CreateLaporanTable extends Migration
*/
public function up()
{
Schema::create('laporan', function (Blueprint $table) {
$table->id();
Schema::create('laporan_file', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->string("tahun",4);
$table->date("tgl_upload")->default(\DB::raw('CURRENT_TIMESTAMP'));
$table->string("kode_rekening",50);
$table->string("kode_skpd",50);
$table->string("nama_skpd",255);
$table->string("nama_laporan",50);
$table->string("nama_file",50);
$table->timestamps();
});
}
@@ -26,6 +33,6 @@ class CreateLaporanTable extends Migration
*/
public function down()
{
Schema::dropIfExists('laporan');
Schema::dropIfExists('laporan_file');
}
}