increments('id'); $table->string('name', 255)->nullable(); $table->text('description')->nullable(); $table->enum('type', ['Sales','Purchase'])->nullable(); $table->string('item_rate', 200)->nullable(); $table->enum('markup', ['Markup','Markdown'])->nullable(); $table->float('percentage')->nullable(); $table->float('round_off')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 50)->nullable(); $table->string('slug', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('pricelists'); } }