Add automigrate for users table

This commit is contained in:
qowevisa 2024-08-02 23:37:05 +03:00
parent f35e5db1a9
commit 1c12d29aa5

View File

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