increments('id'); $table->text('name')->nullable(); $table->text('address')->nullable(); $table->string('track_status', 255)->nullable(); $table->integer('product_id')->nullable(); $table->increments('subtotal')->nullable(); $table->increments('tax')->nullable(); $table->increments('total')->nullable(); $table->enum('payment_status', ['Paid','Unpaid'])->nullable(); $table->enum('payment_methods', ['Cash on delivery','Debit card','Credit Card'])->nullable(); $table->string('payment_details', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('orders'); } }