id(); $table->foreignId('outlet_id')->constrained()->cascadeOnDelete(); $table->string('name', 30); $table->timestamp('created_at')->useCurrent(); $table->timestamp('updated_at')->nullable()->useCurrentOnUpdate(); $table->softDeletes(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('facilities'); } };