id(); $table->unsignedInteger('price'); $table->unsignedInteger('ppn11'); $table->unsignedInteger('qty'); $table->string('invoice_number')->unique(); $table->foreignId('product_id')->constrained(); $table->foreignId('customers_id')->constrained(); $table->foreignId('user_id')->constrained(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('sales'); } };