mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-19 02:26:27 +00:00
Convert db backend to use Gorm, with basis for support
for Mysql and Postgres in addition to existing Sqlite
This commit is contained in:
@ -4,20 +4,20 @@ import "npm/internal/entity/upstream"
|
||||
|
||||
// Template is the model given to the template parser, converted from the Model
|
||||
type Template struct {
|
||||
ID int
|
||||
CreatedOn string
|
||||
ModifiedOn string
|
||||
UserID int
|
||||
ID uint
|
||||
CreatedAt string
|
||||
UpdatedAt string
|
||||
UserID uint
|
||||
Type string
|
||||
NginxTemplateID int
|
||||
NginxTemplateID uint
|
||||
ProxyScheme string
|
||||
ProxyHost string
|
||||
ProxyPort int
|
||||
ListenInterface string
|
||||
DomainNames []string
|
||||
UpstreamID int
|
||||
CertificateID int
|
||||
AccessListID int
|
||||
UpstreamID uint
|
||||
CertificateID uint
|
||||
AccessListID uint
|
||||
SSLForced bool
|
||||
CachingEnabled bool
|
||||
BlockExploits bool
|
||||
|
Reference in New Issue
Block a user