penggabungan feature proses penawaran dan feature proses penawaran ulang, dan terkait keinginan user
This commit is contained in:
@@ -20,7 +20,7 @@ return new class extends Migration
|
||||
$table->string('kontur_tanah');
|
||||
$table->string('ketinggian_jalan');
|
||||
$table->string('kontur_jalan');
|
||||
$table->string('posis_kavling');
|
||||
$table->string('posisi_kavling');
|
||||
$table->enum('tusuk_sate', ['yes', 'no']);
|
||||
$table->enum('lockland', ['yes', 'no']);
|
||||
$table->string('kondisi_fisik_tanah');
|
||||
|
||||
@@ -15,6 +15,7 @@ return new class extends Migration
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('code');
|
||||
$table->unsignedBigInteger('kategori_jenis_aset_id'); // Add this line
|
||||
$table->foreign('kategori_jenis_aset_id')->references('id')->on('kategori_jenis_aset');
|
||||
$table->boolean('status')->default(true);
|
||||
$table->char('authorized_status', 1)->nullable();
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('detail_dokumen_jaminan', function (Blueprint $table) {
|
||||
$table->string('dokumen_nomor')->nullable()->after('dokumen_jaminan');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('detail_dokumen_jaminan', function (Blueprint $table) {
|
||||
$table->dropColumn('dokumen_nomor');
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('detail_penawaran', function (Blueprint $table) {
|
||||
$table->string('no_proposal')->nullable()->after('penawaran_id');
|
||||
$table->date('tgl_proposal')->nullable()->after('no_proposal');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('detail_penawaran', function (Blueprint $table) {
|
||||
$table->dropColumn('no_proposal');
|
||||
$table->dropColumn('tgl_proposal');
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('detail_penawaran_logs', function (Blueprint $table) {
|
||||
$table->string('no_proposal')->nullable()->after('penawaran_id');
|
||||
$table->date('tgl_proposal')->nullable()->after('no_proposal');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('detail_penawaran_logs', function (Blueprint $table) {
|
||||
$table->dropColumn('no_proposal');
|
||||
$table->dropColumn('tgl_proposal');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user