fix wrong type to string

This commit is contained in:
Adrian Zürcher
2026-02-14 14:55:11 +01:00
parent 1f4f9a12aa
commit 857d84d3a9

View File

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