Initial commit

This commit is contained in:
2025-08-01 22:04:00 +02:00
commit d1f466d1d4
155 changed files with 15995 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
<?php
declare(strict_types=1);
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('educations', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->foreignUuid('resume_id')->constrained('resumes')->cascadeOnDelete();
$table->string('institution');
$table->string('url')->nullable();
$table->string('area');
$table->string('study_type');
$table->date('start_date');
$table->date('end_date')->nullable();
$table->decimal('score')->nullable();
$table->json('courses')->default('[]');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('educations');
}
};