Added expenses to plan

This commit is contained in:
Manuel Forcén Muñoz 2025-04-09 18:37:02 +02:00
parent 8ea8574f3f
commit 54d7d14ef9
9 changed files with 401 additions and 13 deletions

2
db.go
View file

@ -19,7 +19,7 @@ func bootstrapDatabase() *gorm.DB {
return nil
}
db.AutoMigrate(&User{}, &Member{}, &Plan{}, &Poll{}, &Vote{})
db.AutoMigrate(&User{}, &Member{}, &Plan{}, &Expense{}, &Debt{}, &Poll{}, &Vote{})
//var tables = [...]struct {
// key string