backend: add car

This commit is contained in:
Alex
2025-03-15 00:12:46 +01:00
parent c9d5a88dbf
commit ce18324391
8 changed files with 412 additions and 2 deletions

View File

@@ -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