id(); $table->string('name', 255); $table->string('full_name', 255); $table->text('description')->nullable(); $table->string('code', 255); $table->smallInteger('position'); $table->string('slug', 255)->unique(); $table->foreignId('department_id')->constrained('departments'); $table->foreignId('education_level_id')->constrained('education_levels'); $table->foreignId('education_form_id')->constrained('education_forms'); $table->smallInteger('budget_places'); $table->smallInteger('quota'); $table->smallInteger('paid_places'); $table->integer('cost_paid_place'); $table->float('period'); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('directions'); } };