id(); $table->integer('position'); $table->float('period'); $table->foreignId('education_form_id')->constrained('education_forms'); $table->foreignId('direction_id')->constrained('directions'); $table->text('description')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('periods'); } };