dbfdg bigIncrements('id'); $table->string('order_id',100)->unique(); $table->string('name',100)->nullable(); $table->string('email',100)->nullable(); $table->string('card_number',10)->nullable(); $table->string('card_exp_month',10)->nullable(); $table->string('card_exp_year',10)->nullable(); $table->string('plan_name',100)->nullable(); $table->integer('plan_id'); $table->decimal('price', 15, 2)->nullable()->default(0.0); $table->string('price_currency',10)->nullable(); $table->string('txn_id',100)->nullable(); $table->string('payment_status',100)->nullable(); $table->string('payment_type')->default('Manually'); $table->string('receipt')->nullable(); $table->integer('user_id')->default(0); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('orders'); } }