vikunja/pkg/db
kolaente fd77e041a1 fix: add transaction begin to db.NewSession()
All sessions now start with an active transaction. This makes
multi-statement write operations atomic — if any step fails, all
changes are rolled back instead of leaving the database in an
inconsistent state.

Callers must call s.Commit() for writes to persist. s.Close()
auto-rollbacks uncommitted transactions.
2026-02-25 11:03:02 +01:00
..
fixtures feat: add Session model with CRUD, permissions, and cleanup cron 2026-02-25 10:30:25 +01:00
db.go fix: add transaction begin to db.NewSession() 2026-02-25 11:03:02 +01:00
db_path_test.go refactor(db): extract testable ResolveDatabasePath function (#2193) 2026-02-08 10:47:57 +00:00
dump.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
helpers.go fix: MySQL constraint violations returning HTTP 500 instead of 400 for task bucket duplicates (#1154) 2025-07-22 08:59:12 +00:00
helpers_test.go fix: MySQL constraint violations returning HTTP 500 instead of 400 for task bucket duplicates (#1154) 2025-07-22 08:59:12 +00:00
test.go refactor: remove environment variable requirements for go test 2026-02-17 18:01:05 +01:00
test_fixtures.go refactor: remove environment variable requirements for go test 2026-02-17 18:01:05 +01:00