Transformed into pivot models and Created ResumeSlotValue
Some checks failed
linter / quality (push) Successful in 3m39s
tests / ci (push) Failing after 6m30s

This commit is contained in:
2025-08-17 11:58:55 +02:00
parent c9f499cf2d
commit 08425938d4
13 changed files with 261 additions and 10 deletions

View File

@@ -0,0 +1,32 @@
<?php
use App\Models\User;
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('resumes', function (Blueprint $table) {
$table->id();
$table->string('name', 255);
$table->foreignIdFor(User::class, "creator_id")->constrained()->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('resumes');
}
};