Skip to content

Commit

Permalink
Merge pull request #86 from w1tnessbtwwwww/backend
Browse files Browse the repository at this point in the history
default
  • Loading branch information
w1tnessbtwwwww authored Jan 27, 2025
2 parents 42c01f8 + 93f8418 commit 3d2c371
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class EmailVerification(Base):
verification_id: Mapped[UUID] = mapped_column(UUID, primary_key=True, default=uuid.uuid4)
userId: Mapped[UUID] = mapped_column(ForeignKey("users.userId", ondelete='CASCADE'), nullable=False)
verification_code: Mapped[str] = mapped_column(default=str(generate_confirmation_code()))
created_at: Mapped[datetime.datetime] = mapped_column(default=datetime.datetime.now())
created_at: Mapped[datetime.datetime] = mapped_column(default=datetime.datetime.utcnow())

user: Mapped["User"] = relationship("User", back_populates="verification")

Expand Down

0 comments on commit 3d2c371

Please sign in to comment.