feat: Menambahkan migrasi untuk tabel Penaatan

main
marszayn 2025-02-27 10:48:21 +07:00
parent 08c45c61ca
commit 6a4c0f708b
1 changed files with 28 additions and 0 deletions

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::create('Penaatan', function (Blueprint $table) {
$table->id('PenaatanId');
$table->string('NamaPenaatan');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('Penaatan');
}
};