id(); $table->string('token', 64)->unique(); $table->string('email')->nullable(); $table->foreignId('created_by')->constrained('users')->restrictOnDelete(); $table->dateTime('expires_at'); $table->dateTime('accepted_at')->nullable(); $table->timestamp('created_at')->nullable(); }); } public function down(): void { Schema::dropIfExists('invitations'); } };