increments('id'); $table->integer('client_id')->nullable(); $table->integer('category_id')->nullable(); $table->string('type', 30)->nullable(); $table->string('slug', 100)->nullable(); $table->string('title', 100)->nullable(); $table->text('details')->nullable(); $table->integer('price')->nullable(); $table->text('images')->nullable(); $table->enum('conditions', ['New','Used',''])->nullable(); $table->enum('negotiable', ['Yes','No'])->nullable(); $table->enum('status', ['Active','Inactive','Paused','Hold',''])->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('advertisements'); } }