increments('id'); $table->integer('user_id')->nullable(); $table->string('user_type', 255)->nullable(); $table->integer('product_id')->nullable(); $table->integer('shop_id')->nullable(); $table->integer('flyer_id')->nullable(); $table->string('name', 255)->nullable(); $table->float('actual_price')->nullable(); $table->float('discount_price')->nullable(); $table->float('discount_amount')->nullable(); $table->integer('discount_percentage')->nullable(); $table->integer('min_quantity')->nullable(); $table->float('price')->nullable(); $table->date('startdate')->nullable(); $table->date('enddate')->nullable(); $table->integer('quantity')->nullable(); $table->text('images')->nullable(); $table->string('slug', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('offers'); } }