increments('id'); $table->string('title', 50)->nullable(); $table->longText('description')->nullable(); $table->integer('created_by')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 50)->nullable(); $table->string('status', 50)->nullable(); $table->string('slug', 50)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('news'); } }