remove UNIQUE from cards.card_name

This commit is contained in:
Peter Rounce 2023-02-28 15:47:37 +00:00
parent 9dc6d70ba4
commit 62c0db37d5
5 changed files with 29 additions and 33 deletions

View file

@ -58,6 +58,12 @@ func Createboltcard(w http.ResponseWriter, r *http.Request) {
}
card_name := r.URL.Query().Get("card_name")
if card_name == "" {
msg := "createboltcard: the card name must be set"
log.Warn(msg)
resp_err.Write_message(w, msg)
return
}
uid_privacy_flag_str := r.URL.Query().Get("uid_privacy")
uid_privacy_flag, err := strconv.ParseBool(uid_privacy_flag_str)