forked from goffee/cup
fix user id, seed data autority
This commit is contained in:
parent
cac2986b59
commit
43f3ad986e
4 changed files with 85 additions and 16 deletions
|
|
@ -6,8 +6,8 @@ package models
|
|||
|
||||
type UserRole struct {
|
||||
BaseModel
|
||||
UserID string // The user id
|
||||
RoleID uint // The role id
|
||||
UserID uint // The user id
|
||||
RoleID uint // The role id
|
||||
}
|
||||
|
||||
// TableName sets the table name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue