add new database table workspace

This commit is contained in:
Adrian Zürcher
2026-02-14 14:47:41 +01:00
parent 206639cf72
commit 1f4f9a12aa
4 changed files with 179 additions and 8 deletions

7
models/workspace.go Normal file
View File

@@ -0,0 +1,7 @@
package models
type Workspace struct {
Id uint `gorm:"primaryKey" json:"id"`
Name string `gorm:"column:name" json:"name"`
Description Permissions `gorm:"type:json" json:"description"`
}