Members now can be non-users
This commit is contained in:
parent
bce6857b12
commit
acfe6b7d0c
5 changed files with 40 additions and 28 deletions
2
db.go
2
db.go
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue