id(); $table->string('name'); $table->boolean('is_active')->default(true); $table->foreignIdFor(\App\Models\DepartmentProfile::class)->constrained(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('departments'); } };