Bulk commit
This commit is contained in:
11
model/mandant.go
Normal file
11
model/mandant.go
Normal file
@ -0,0 +1,11 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"git.kocoder.xyz/kocoded/vt/types"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type Mandant struct {
|
||||
gorm.Model
|
||||
types.Mandant
|
||||
}
|
||||
@ -4,6 +4,6 @@ import "gorm.io/gorm"
|
||||
|
||||
type User struct {
|
||||
gorm.Model
|
||||
Sub string `json:"sub"gorm:"unique"`
|
||||
Sub string `json:"sub" gorm:"unique"`
|
||||
Email string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user