add new database table workspace
This commit is contained in:
7
models/workspace.go
Normal file
7
models/workspace.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user