id(); $table->string('lot'); $table->string('box_number'); $table->integer('starting_page'); $table->integer('ending_page'); $table->foreignId('module_id')->constrained('modules')->cascadeOnDelete(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('packages'); } };