bigIncrements('id'); $table->bigInteger('profile_id')->unsigned()->nullable(); $table->string('title')->nullable(); $table->text('description')->nullable(); $table->boolean('is_nsfw')->default(false); $table->string('visibility')->default('public')->index(); $table->timestamp('published_at')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('collections'); } }