increments('id'); $table->text('coupon_code')->nullable(); $table->integer('discount')->nullable(); $table->dateTime('start_date')->nullable(); $table->dateTime('end_date')->nullable(); $table->integer('coupon_limit')->nullable(); $table->enum('coupon_status', [Active,Inactive,Used])->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('coupons'); } }