id(); $table->string('email'); $table->string('token')->unique(); $table->foreignId('movie_list_id')->constrained()->cascadeOnDelete(); $table->enum('status', ['pending', 'accepted_login_pending', 'accepted', 'declined'])->default('pending'); $table->dateTime('expires_at'); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('invitations'); } };