Grundgerüst Formulare und Seeder
This commit is contained in:
@@ -16,8 +16,9 @@ return new class extends Migration
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('type');
|
||||
$table->foreignIdFor(User::class, 'responsible');
|
||||
$table->morphs('contractable');
|
||||
$table->foreignIdFor(User::class, 'responsible_id');
|
||||
$table->integer('contractable_id')->nullable();
|
||||
$table->string('contractable_type')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user