Update migrations
This commit is contained in:
@@ -16,10 +16,8 @@ return new class extends Migration
|
||||
$table->string('name');
|
||||
$table->string('description');
|
||||
$table->string('slug');
|
||||
$table->int('difficulty')->default(0);
|
||||
$table->integer('difficulty')->default(0);
|
||||
$table->foreignId('image_id')->nullable()->constrained()->cascadeOnDelete();
|
||||
$table->foreignId('category_id')->nullable()->constrained()->cascadeOnDelete();
|
||||
$table->string('icon')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user