increments('id'); $table->integer('category_id')->nullable(); $table->string('name', 250)->nullable(); $table->string('slug', 200)->nullable(); $table->string('author', 200)->nullable(); $table->text('description')->nullable(); $table->enum('published', ['yes','no'])->nullable(); $table->text('images')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('blogs'); } }