This is an automated email from the ASF dual-hosted git repository. gstein pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/steve.git
commit 7fd74c3ae876cd1f9655da5499f1996ebe600159 Author: Greg Stein <[email protected]> AuthorDate: Sat Oct 4 02:42:07 2025 -0500 Clarify vote data insertion. Only inserting the token and ciphertext. Not the VID which is an autoincrement primary key. --- v3/queries.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v3/queries.yaml b/v3/queries.yaml index 9f32d7b..b315d33 100644 --- a/v3/queries.yaml +++ b/v3/queries.yaml @@ -35,7 +35,9 @@ election: type=excluded.type, kv=excluded.kv c_delete_issue: DELETE FROM issue WHERE iid = ? - c_add_vote: INSERT INTO vote VALUES (NULL, ?, ?) + c_add_vote: | + INSERT INTO vote (vote_token, ciphertext) + VALUES (?, ?) c_add_mayvote: INSERT INTO mayvote (pid, iid) VALUES (?, ?) c_add_mayvote_all: | INSERT INTO mayvote (pid, iid)
