add badges
This commit is contained in:
@@ -21,5 +21,9 @@ func CreateConnection() {
|
||||
&QuoteLine{},
|
||||
&Image{},
|
||||
&Admincard{},
|
||||
&Splash{})
|
||||
&Splash{},
|
||||
&User{},
|
||||
&Badge{},
|
||||
&GivenBadges{},
|
||||
)
|
||||
}
|
||||
|
||||
@@ -38,3 +38,23 @@ type Splash struct {
|
||||
Id string
|
||||
Splash string
|
||||
}
|
||||
|
||||
type User struct {
|
||||
Id string
|
||||
UserId string
|
||||
AccentColor string
|
||||
}
|
||||
|
||||
type Badge struct {
|
||||
Id string
|
||||
Name string
|
||||
Desc string
|
||||
Expl string
|
||||
Img string
|
||||
}
|
||||
|
||||
type GivenBadges struct {
|
||||
UserId string
|
||||
BadgeId string
|
||||
Date *time.Time
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user