Membuat Sub Menu Data Penawaran dari Menu Tender part 4

This commit is contained in:
2024-10-03 17:48:21 +07:00
parent 5cc18fa0e1
commit 07c0276c34
9 changed files with 614 additions and 513 deletions

View File

@@ -0,0 +1,32 @@
<?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('penawaran', function (Blueprint $table) {
$table->string('nama_kjpp_sebelumnya')->nullable()->change();
$table->string('biaya_kjpp_sebelumnya')->nullable()->change();
$table->datetime('tanggal_penilaian_sebelumnya')->nullable()->change();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('penawaran', function (Blueprint $table) {
$table->string('nama_kjpp_sebelumnya')->change();
$table->string('biaya_kjpp_sebelumnya')->change();
$table->datetime('tanggal_penilaian_sebelumnya')->change();
});
}
};

View File

@@ -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('penawaran', function (Blueprint $table) {
$table->text('catatan')->nullable()->change();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('penawaran', function (Blueprint $table) {
$table->text('catatan')->change();
});
}
};