Initial commit - lms-v2 + CLAUDE.md
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('exams', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('old_id')->nullable()->index(); // Kolom penaut data lama
|
||||
$table->string('title');
|
||||
$table->string('duration')->nullable(); // Dalam menit
|
||||
$table->string('passing_percentage')->nullable(); // KKM Kelulusan
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('exams');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user