Step one: Copy the struct definitions over into a new, dedicated submodule Step two: Make a generator script Step three: Define helper functions for various queries
This commit is contained in:
parent
0639cde4f2
commit
714f528641
27 changed files with 983 additions and 0 deletions
7
storage-new/models/UserAuthentication.go
Normal file
7
storage-new/models/UserAuthentication.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package models
|
||||
|
||||
type UserAuthMethod struct {
|
||||
UserId string
|
||||
AuthMethod AuthenticationMethodType `gorm:"type:auth_method_type"`
|
||||
Token []byte
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue