mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-13 00:32:58 +03:00
refactor: save dates as unix timestamps in database
This commit is contained in:
@@ -4,8 +4,8 @@ import (
|
||||
"database/sql/driver"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
datatype "github.com/stonith404/pocket-id/backend/internal/model/types"
|
||||
"gorm.io/gorm"
|
||||
"time"
|
||||
)
|
||||
|
||||
type UserAuthorizedOidcClient struct {
|
||||
@@ -23,7 +23,7 @@ type OidcAuthorizationCode struct {
|
||||
Code string
|
||||
Scope string
|
||||
Nonce string
|
||||
ExpiresAt time.Time
|
||||
ExpiresAt datatype.DateTime
|
||||
|
||||
UserID string
|
||||
User User
|
||||
|
||||
Reference in New Issue
Block a user