mirror of
https://github.com/hazemKrimi/crimson-vault.git
synced 2026-05-01 18:20:27 +00:00
chore: trailing slash and associate clients with user
This commit is contained in:
@@ -7,7 +7,8 @@ import (
|
||||
)
|
||||
|
||||
type Client struct {
|
||||
ID uint32 `json:"id" gorm:"primaryKey"`
|
||||
ID string `json:"id" gorm:"primaryKey"`
|
||||
UserID string `json:"userId"`
|
||||
CreatedAt time.Time `json:"createAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
DeletedAt gorm.DeletedAt `json:"deletedAt" gorm:"index"`
|
||||
|
||||
Reference in New Issue
Block a user