create db structure for hubs

This commit is contained in:
2026-04-22 22:15:34 +02:00
parent f4dfd63c58
commit 35827f7214
2 changed files with 75 additions and 0 deletions
+12
View File
@@ -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"`