Skip to content

SQL Error on name change #67

Description

@MattyTheHacker
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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions