修改授权表,去掉外键

This commit is contained in:
18610128193
2026-06-10 11:12:47 +08:00
parent 522839d8e4
commit cd8184c81c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class UserOAuth(Base, TimestampMixin, SoftDeleteMixin):
String(128), nullable=True, comment="授权账户登录账号"
)
user_id: Mapped[str] = mapped_column(
String(32), ForeignKey("users.id", ondelete="CASCADE"), nullable=False, index=True,
String(32), nullable=False, index=True,
comment="用户id"
)
open_type: Mapped[int] = mapped_column(