mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
29990110b1
for Mysql and Postgres in addition to existing Sqlite
12 lines
265 B
Go
12 lines
265 B
Go
package entity
|
|
|
|
// Capability is the db model
|
|
type Capability struct {
|
|
Name string `json:"name" gorm:"column:name;primaryKey" filter:"name,string"`
|
|
}
|
|
|
|
// TableName overrides the table name used by gorm
|
|
func (Capability) TableName() string {
|
|
return "capability"
|
|
}
|