increments('id'); $table->integer('store_id')->nullable(); $table->integer('product_id')->nullable(); $table->decimal('stock_in', 10,2)->nullable(); $table->decimal('stock_out', 10,2)->nullable(); $table->increments('price')->nullable(); $table->date('date')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('stocks'); } }