increments('id'); $table->string('order_code', 255)->nullable(); $table->enum('payment_status', ['Payed','Not Payed'])->nullable(); $table->enum('status', ['Processing','Delivered'])->nullable(); $table->string('user_type', 100)->nullable(); $table->integer('user_id')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('ordetrs'); } }