Merge branch 'staging' into feature/senior-officer

This commit is contained in:
majid
2024-11-20 17:07:03 +07:00
42 changed files with 2515 additions and 265 deletions

View File

@@ -0,0 +1,35 @@
<?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::create('penawaran_email_tender_log', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('penawaran_id');
$table->foreign('penawaran_id')->references('id')->on('penawaran')->onDelete('cascade');
$table->string('kjpp');
$table->string('to_email');
$table->string('subject');
$table->text('body_pdf');
$table->string('status');
$table->text('error_message');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('penawaran_email_tender_log');
}
};