This commit is contained in:
Tomas Dvorak
2026-01-26 08:13:18 +01:00
parent aa036b6550
commit dfc079288f
505 changed files with 95755 additions and 5712 deletions
+14
View File
@@ -38,6 +38,13 @@ func MigrateDB(db *gorm.DB) error {
&models.ContactCategory{},
&models.Contact{},
&models.PageElementConfig{},
&models.Invoice{},
&models.InvoiceItem{},
&models.InvoicePayment{},
&models.InvoiceCustomer{},
&models.InvoiceSettings{},
&models.InvoiceSequence{},
&models.InvoiceTemplate{},
)
if err != nil {
return err
@@ -61,6 +68,13 @@ func MigrateDB(db *gorm.DB) error {
&models.ContactCategory{},
&models.Contact{},
&models.PageElementConfig{},
&models.Invoice{},
&models.InvoiceItem{},
&models.InvoicePayment{},
&models.InvoiceCustomer{},
&models.InvoiceSettings{},
&models.InvoiceSequence{},
&models.InvoiceTemplate{},
)
if err != nil {
return err