This commit is contained in:
Dwi Swandhana
2026-03-06 12:58:40 +07:00
parent 9bd38a470e
commit 5f37ce8def
5 changed files with 333 additions and 85 deletions
@@ -0,0 +1,34 @@
<?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('rekap_penerimaan_sample_print_histories', function (Blueprint $table) {
$table->id();
$table->date('tanggal')->nullable();
$table->integer('printed_by_id')->nullable();
$table->string('printed_by_name', 250)->nullable();
$table->timestamp('printed_at')->nullable();
$table->text('row_ids')->nullable();
$table->longText('rows_payload')->nullable();
$table->timestamp('created_at')->useCurrent();
$table->timestamp('updated_at')->useCurrent();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('rekap_penerimaan_sample_print_histories');
}
};