increments('id'); $table->string('ecom_id'); $table->string('order_key')->nullable(); $table->string('currency')->nullable(); $table->string('date_created')->nullable(); $table->string('date_modified')->nullable(); $table->decimal('discount_total')->nullable(); $table->decimal('shipping_total')->nullable(); $table->decimal('total')->nullable(); $table->string('customer_id')->nullable(); $table->string('payment_method')->nullable(); $table->string('transaction_id')->nullable(); $table->string('date_paid')->nullable(); $table->string('date_completed')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('ecommerce_orders'); } }