backend: add car
This commit is contained in:
@@ -29,6 +29,10 @@ func Open(dbPath string, adminMail string) (*gorm.DB, error) {
|
||||
&models.Verification{},
|
||||
&models.Licence{},
|
||||
&models.Category{},
|
||||
&models.Insurance{},
|
||||
&models.Car{},
|
||||
&models.Location{},
|
||||
&models.Damage{},
|
||||
&models.BankAccount{}); err != nil {
|
||||
logger.Error.Fatalf("Couldn't create database: %v", err)
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user