mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add SSO account ID in table Users
This column holds a user ID issed by the single sign-on provider. For Keycloak, it is an UUID. For more flexibility, we will be using a standardly-sized VARCHAR field. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
3f31d149a6
commit
a5554c19a9
2 changed files with 31 additions and 0 deletions
|
@ -67,6 +67,7 @@ Users = Table(
|
|||
Column('CommentNotify', TINYINT(1), nullable=False, server_default=text("1")),
|
||||
Column('UpdateNotify', TINYINT(1), nullable=False, server_default=text("0")),
|
||||
Column('OwnershipNotify', TINYINT(1), nullable=False, server_default=text("1")),
|
||||
Column('SSOAccountID', String(255), nullable=True, unique=True),
|
||||
Index('UsersAccountTypeID', 'AccountTypeID'),
|
||||
mysql_engine='InnoDB',
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue