add new relational table requests

This commit is contained in:
Adrian Zürcher
2025-11-27 07:58:43 +01:00
parent f28a3edbcf
commit b0895aee01
11 changed files with 125 additions and 166 deletions

View File

@@ -1,6 +1,6 @@
package models
type Group struct {
Id int `gorm:"primaryKey" json:"id"`
Id uint `gorm:"primaryKey" json:"id"`
Name string `gorm:"column:name" json:"name"`
}