id(); $table->string('title'); $table->string('slug'); $table->text('description'); $table->string('image')->nullable(); $table->string('link')->nullable(); $table->boolean('active')->default(false); $table->foreignIdFor(DealCategory::class); $table->foreignIdFor(User::class); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('deals'); } };