id(); $table->string('name'); $table->text('description')->nullable(); $table->string('code'); $table->integer('position'); $table->string('slug'); $table->foreignId('department_id')->constrained('departments'); $table->foreignId('education_level_id')->constrained('education_levels'); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('directions'); } };