Update migrations
This commit is contained in:
@@ -13,6 +13,11 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('crews', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('description');
|
||||
$table->string('slug');
|
||||
$table->foreignId('image_id')->constrained()->cascadeOnDelete();
|
||||
$table->foreignId('cover_image_id')->constrained('images')->cascadeOnDelete();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user