This commit is contained in:
Adrian Hopek
2022-05-10 12:19:58 +02:00
parent 5c55f1860a
commit 22c5f7bb54
10 changed files with 163 additions and 76 deletions

View File

@@ -17,7 +17,6 @@ class ResumeFactory extends Factory
{
return [
"name" => fn(array $attr) => empty($attr["user_id"]) ? $this->faker->name : null,
"description" => $this->faker->boolean(30) ? $this->faker->sentence : null,
"education" => $this->generateEducation(),
"languages" => $this->generateLanguages(),
"technologies" => $this->generateTechnologies(),

View File

@@ -14,7 +14,6 @@ return new class() extends Migration {
$table->id();
$table->foreignIdFor(User::class)->nullable()->constrained()->cascadeOnDelete();
$table->string("name")->nullable();
$table->string("description")->nullable();
$table->json("education");
$table->json("languages");
$table->json("technologies");