1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-12 18:30:15 +00:00

fix: enable foreign key check for sqlite (#863)

Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
Elias Schneider
2025-08-23 17:54:51 +02:00
committed by GitHub
parent 2c122d413d
commit 625f235740
10 changed files with 548 additions and 51 deletions

View File

@@ -53,8 +53,8 @@ type OidcClient struct {
LaunchURL *string
AllowedUserGroups []UserGroup `gorm:"many2many:oidc_clients_allowed_user_groups;"`
CreatedByID string
CreatedBy User
CreatedByID *string
CreatedBy *User
UserAuthorizedOidcClients []UserAuthorizedOidcClient `gorm:"foreignKey:ClientID;references:ID"`
}