Add client-side code to ask for feedback when uninstalling

This commit is contained in:
David Dworken
2022-11-16 21:54:05 -08:00
parent 48c77d88f7
commit d4efc62df1
4 changed files with 27 additions and 10 deletions

View File

@ -85,3 +85,9 @@ func (m *MessageIdentifiers) Scan(value interface{}) error {
func (m MessageIdentifiers) Value() (driver.Value, error) {
return json.Marshal(m)
}
type Feedback struct {
UserId string `json:"user_id" gorm:"not null"`
Date time.Time `json:"date" gorm:"not null"`
Feedback string `json:"feedback"`
}