create db structure for hubs
This commit is contained in:
@@ -167,6 +167,18 @@ type Hub struct {
|
||||
Creator uuid.UUID `json:"creator"`
|
||||
}
|
||||
|
||||
type HubChannelGroup struct {
|
||||
Id uuid.UUID `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Color string `json:"color"`
|
||||
}
|
||||
|
||||
type HubChannel struct {
|
||||
Id uuid.UUID `json:"id"`
|
||||
Name uuid.UUID `json:"name"`
|
||||
ParentGroupId uuid.UUID `json:"parentGroupId"`
|
||||
}
|
||||
|
||||
type HubUser struct {
|
||||
Id uuid.UUID `json:"id"`
|
||||
Username string `json:"username"`
|
||||
|
||||
Reference in New Issue
Block a user