mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 02:32:57 +00:00
hot fix #1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user