Convert db backend to use Gorm, with basis for support

for Mysql and Postgres in addition to existing Sqlite
This commit is contained in:
Jamie Curnow committed 2023-05-26 11:37:39 +10:00
1 parent b4e5b8b6db
commit 29990110b1
93 files changed
+1215 -3075

No files matched your search

@@ -2,14 +2,14 @@ package certificate
// Template is the model given to the template parser, converted from the Model
type Template struct {
ID int
CreatedOn string
ModifiedOn string
ID uint
CreatedAt string
UpdatedAt string
ExpiresOn string
Type string
UserID int
CertificateAuthorityID int
DNSProviderID int
UserID uint
CertificateAuthorityID uint
DNSProviderID uint
Name string
DomainNames []string
Status string