add new models, change migration files, prepare to add all new tables from models
This commit is contained in:
21
internal/foundry/temp_models/db/user.go
Normal file
21
internal/foundry/temp_models/db/user.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package db
|
||||
|
||||
type User struct {
|
||||
ID string
|
||||
|
||||
Name string
|
||||
Avatar string
|
||||
Character string
|
||||
Color string
|
||||
Pronouns string
|
||||
Role int
|
||||
Stats Stats
|
||||
Hotbar []UserHotbar
|
||||
}
|
||||
|
||||
type UserHotbar struct {
|
||||
ID uint
|
||||
|
||||
Key int
|
||||
Value string
|
||||
}
|
||||
Reference in New Issue
Block a user