id(); $table->unsignedBigInteger('product_id'); $table->string('size'); $table->integer('stock'); $table->timestamps(); $table->foreign('product_id')->references('id')->on('products')->onDelete('cascade'); }); } public function down() { Schema::dropIfExists('product_sizes'); } }