increments('id'); $table->integer('channel_id')->nullable(); $table->integer('category_id')->nullable(); $table->integer('user_id')->nullable(); $table->integer('name')->nullable(); $table->enum('playlist_type', ['manual','rule_based'])->nullable(); $table->text('videos')->nullable(); $table->text('rules')->nullable(); $table->string('description', 255)->nullable(); $table->text('tags')->nullable(); $table->string('slug', 255)->nullable(); $table->string('user_type', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('playlists'); } }