This commit is contained in:
servdal
2025-09-04 04:10:52 +07:00
parent caf54a9dd7
commit f0b5e64d16
3 changed files with 74 additions and 27 deletions
@@ -0,0 +1,33 @@
<?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('db_komponenjawaban', function (Blueprint $table) {
$table->id();
$table->string('accnumber', 100)->nullable();
$table->string('template', 100)->nullable();
$table->string('komponen', 100)->nullable();
$table->text('isidata')->nullable();
$table->string('created_by', 255)->nullable();
$table->timestamp('created_at')->useCurrent();
$table->timestamp('updated_at')->useCurrent();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('db_komponenjawaban');
}
};