Skip to content

Commit

Permalink
🎨 fix column
Browse files Browse the repository at this point in the history
  • Loading branch information
iChemy committed Dec 12, 2024
1 parent f8d2538 commit b6c5c88
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions migration/v13.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ type embeddedToken struct {
}

type v13newUser struct {
ID uuid.UUID `gorm:"type:char(36); primaryKey"`
Privilege bool `gorm:"not null"`
State int
IcalSecret string `gorm:"not null"`
Issuer string `gorm:"not null"`
Subject string
*embeddedToken
ID uuid.UUID `gorm:"type:char(36); primaryKey"`
Privilege bool `gorm:"not null"`
State int
IcalSecret string `gorm:"not null"`
Issuer string `gorm:"not null"`
Subject string
AccessToken *string `gorm:"type:varbinary(64)"`
TokenType *string
RefreshToken *string
Expiry *time.Time
}

func (*v13newUser) TableName() string {
Expand Down

0 comments on commit b6c5c88

Please sign in to comment.