Members now can be non-users

This commit is contained in:
Manuel Forcén Muñoz 2025-01-14 20:14:07 +01:00
parent bce6857b12
commit acfe6b7d0c
5 changed files with 40 additions and 28 deletions

2
db.go
View file

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