id(); $table->string('title'); $table->text('content')->nullable(); $table->string('slug'); $table->boolean('is_active')->default(true); $table->unsignedBigInteger('faculty_id'); $table->foreign('faculty_id')->references('id')->on('faculties'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('departments'); } };