Add Transfer to autoMigrate

This commit is contained in:
qowevisa 2024-08-03 08:15:39 +03:00
parent ffa8d9211f
commit 39c953b6d6

View File

@ -50,6 +50,7 @@ func Connect() *gorm.DB {
gormDB.AutoMigrate(&ItemBought{})
gormDB.AutoMigrate(&Income{})
gormDB.AutoMigrate(&Debt{})
gormDB.AutoMigrate(&Transfer{})
gormDB.AutoMigrate(&User{})
return newUDB
}