increments('id'); $table->text('name')->nullable(); $table->string('code', 255)->nullable(); $table->integer('value')->nullable(); $table->enum('type', ['Amount','Percent'])->nullable(); $table->increments('min_value')->nullable(); $table->integer('limit_no')->nullable(); $table->date('start_date')->nullable(); $table->date('end_date')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('coupons'); } }