Fixes some leftovers frome the models and migrations
Some checks failed
linter / quality (push) Successful in 3m11s
tests / ci (push) Failing after 6m18s

This commit is contained in:
2025-08-17 12:26:42 +02:00
parent 08425938d4
commit fe3991de56
2 changed files with 6 additions and 6 deletions

View File

@@ -16,8 +16,8 @@ return new class extends Migration
Schema::create('resume_slot_values', function (Blueprint $table) {
$table->id();
$table->foreignIdFor(ResumeSlot::class);
$table->foreignIdFor(ResumeComponentInput::class);
$table->foreignIdFor(ResumeSlot::class, 'resume_slot_id')->constrained()->onDelete('cascade');
$table->foreignIdFor(ResumeComponentInput::class, 'resume_component_input_id')->constrained()->onDelete('cascade');
$table->string('value');
@@ -30,6 +30,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('resume_slot_value');
Schema::dropIfExists('resume_slot_values');
}
};