mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			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"
 | |
| }
 |