feat: complete auth/profile username migration and runtime safeguards
This commit is contained in:
@@ -26,14 +26,9 @@ class Profile(TimestampMixin, SoftDeleteMixin, Base):
|
||||
)
|
||||
username: Mapped[str] = mapped_column(
|
||||
String(30),
|
||||
unique=True,
|
||||
nullable=False,
|
||||
index=True,
|
||||
)
|
||||
display_name: Mapped[str | None] = mapped_column(
|
||||
String(50),
|
||||
nullable=True,
|
||||
)
|
||||
avatar_url: Mapped[str | None] = mapped_column(
|
||||
Text,
|
||||
nullable=True,
|
||||
|
||||
Reference in New Issue
Block a user