You've already forked isop-mirror
feat: add report and report confirmation fields to Internship model and factory
This commit is contained in:
@@ -28,6 +28,8 @@ class InternshipFactory extends Factory
|
||||
'semester' => fake()->randomElement(["WINTER", "SUMMER"]),
|
||||
'position_description' => fake()->jobTitle(),
|
||||
'agreement' => null,
|
||||
'report' => null,
|
||||
'report_confirmed' => false,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,8 @@ return new class extends Migration
|
||||
$table->enum("semester", ["WINTER", "SUMMER"])->nullable(false);
|
||||
$table->string("position_description")->nullable(false);
|
||||
$table->binary("agreement")->nullable(true);
|
||||
$table->binary("report")->nullable(true);
|
||||
$table->boolean("report_confirmed")->nullable(false)->default(false);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user