Added expenses to plan
This commit is contained in:
parent
8ea8574f3f
commit
54d7d14ef9
9 changed files with 401 additions and 13 deletions
2
db.go
2
db.go
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue