increments('id'); $table->integer('source_id')->nullable(); $table->text('title')->nullable(); $table->enum('type', ['image','audio','video','default'])->nullable(); $table->text('video')->nullable(); $table->text('audio')->nullable(); $table->text('image')->nullable(); $table->text('description')->nullable(); $table->text('link')->nullable(); $table->text('source_logo')->nullable(); $table->text('source_name')->nullable(); $table->text('slug')->nullable(); $table->enum('status', ['Show','Hide'])->nullable(); $table->integer('user_id')->nullable(); $table->text('user_type')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('newsfeeds'); } }