添加授权列表
This commit is contained in:
@@ -10,12 +10,12 @@ class UserOAuthAccount(Base, TimestampMixin, SoftDeleteMixin):
|
||||
id: Mapped[str] = mapped_column(
|
||||
String(32), primary_key=True, comment="主键"
|
||||
)
|
||||
account_id: Mapped[str] = mapped_column(
|
||||
oauth_id: Mapped[str] = mapped_column(
|
||||
String(64),
|
||||
nullable=False, index=True, comment="授权账户id(user_oauth表中同一个)"
|
||||
nullable=False, index=True, comment="授权表中的id"
|
||||
)
|
||||
advertiser_id: Mapped[str | None] = mapped_column(
|
||||
String(64), nullable=True, index=True, comment="广告账户id"
|
||||
String(64), nullable=True, index=True, comment="广告主账户id"
|
||||
)
|
||||
advertiser_name: Mapped[str | None] = mapped_column(
|
||||
String(128), nullable=True, comment="广告账户名"
|
||||
|
||||
Reference in New Issue
Block a user