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->foreignId('education_form_id')->constrained('education_forms'); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('directions'); } };