laporan file dan spd pada dbh
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user