increments('id'); $table->string('title', 255)->nullable(); $table->text('tagline')->nullable(); $table->string('media_type', 255)->nullable(); $table->integer('category_id')->nullable(); $table->date('published_at')->nullable(); $table->text('description')->nullable(); $table->text('images')->nullable(); $table->enum('status', ['show','hide'])->nullable(); $table->string('slug', 255)->nullable(); $table->integer('user_id')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('news'); } }