Models refactor + Basic functionnalities
This commit is contained in:
@@ -15,7 +15,7 @@ return new class extends Migration
|
||||
Schema::create('resumes', function (Blueprint $table) {
|
||||
$table->id();
|
||||
|
||||
$table->string('name', 255);
|
||||
$table->string('name', 255)->nullable();
|
||||
$table->foreignIdFor(User::class, "creator_id")->constrained()->onDelete('cascade');
|
||||
|
||||
$table->timestamps();
|
||||
|
||||
Reference in New Issue
Block a user