add new group table to database

This commit is contained in:
Adrian Zürcher
2025-11-13 16:20:04 +01:00
parent dd5d7afdff
commit 4a469d1fd4
4 changed files with 189 additions and 0 deletions

6
models/group.go Normal file
View File

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