CSSUoB / CSSUoB/society-voting
SQL Error on name change
- Dominant language
- Go
- Stars
- 1
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
```bash
society-voting-app | 2026-04-10T19:00:30.552125970Z [bun] 19:00:30.551 SELECT 168µs SELECT * FROM "users" WHERE (id = 'REDACTED')
society-voting-app | 2026-04-10T19:00:30.552175864Z [bun] 19:00:30.552 BEGIN 44µs BEGIN
society-voting-app | 2026-04-10T19:00:30.552314956Z [bun] 19:00:30.552 UPDATE 193µs UPDATE "users" AS "user" SET "name" = 'Matty', "password_hash" = 'REDACTED', "is_restricted" = FALSE, "is_admin" = TRUE WHERE (id = 'REDACTED')
society-voting-app | 2026-04-10T19:00:30.555005081Z [bun] 19:00:30.554 COMMIT 2.617ms COMMIT
society-voting-app | 2026-04-10T19:00:30.555021071Z [bun] 19:00:30.554 ROLLBACK 1µs ROLLBACK *errors.errorString: sql: transaction has already been committed or rolled back
```
Doesn't seem to actually prevent anything from working but possibly explains why the name change is a bit glitchy sometimes.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.