修改授权表,去掉外键
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user