Add Transfer to autoMigrate
This commit is contained in:
parent
ffa8d9211f
commit
39c953b6d6
1
db/db.go
1
db/db.go
|
@ -50,6 +50,7 @@ func Connect() *gorm.DB {
|
||||||
gormDB.AutoMigrate(&ItemBought{})
|
gormDB.AutoMigrate(&ItemBought{})
|
||||||
gormDB.AutoMigrate(&Income{})
|
gormDB.AutoMigrate(&Income{})
|
||||||
gormDB.AutoMigrate(&Debt{})
|
gormDB.AutoMigrate(&Debt{})
|
||||||
|
gormDB.AutoMigrate(&Transfer{})
|
||||||
gormDB.AutoMigrate(&User{})
|
gormDB.AutoMigrate(&User{})
|
||||||
return newUDB
|
return newUDB
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user