Menambahkan fitur kirim email tender part 1

This commit is contained in:
2024-11-20 08:24:59 +07:00
parent 7db25c2226
commit 17ca3b2e50
18 changed files with 1554 additions and 25 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');
}
};