beads/internal/storage
obsidian 249609de0c fix: use prefix-based Dolt database names to prevent cross-rig contamination (bd-u8rda)
When multiple rigs share the same Dolt server, they now get separate databases
named beads_<prefix> (e.g. beads_gt, beads_bd) instead of all sharing "beads".

- migrate_dolt.go: derive database name from issue prefix during migration
- init.go: set DoltDatabase in metadata.json based on prefix during init
- store.go: backtick-quote database name in CREATE DATABASE for safety

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/polecats/obsidian
Rig: beads
Role: polecats
2026-02-06 21:15:17 -08:00
..
dolt fix: use prefix-based Dolt database names to prevent cross-rig contamination (bd-u8rda) 2026-02-06 21:15:17 -08:00
doltutil feat: remove embedded Dolt mode, keep server-only connections (bd-esqfe) 2026-02-05 21:30:53 -08:00
factory feat: remove embedded Dolt mode, keep server-only connections (bd-esqfe) 2026-02-05 21:30:53 -08:00
memory fix: add atomic compare-and-swap semantics to bd claim (#1474) 2026-02-03 15:07:40 -08:00
sqlite feat: centralize AI model config into ai.model with DefaultAIModel() 2026-02-06 17:45:04 -08:00
batch.go fix(storage): move BatchCreateOptions to storage package for backend-agnostic batch creation 2026-01-26 20:21:53 -08:00
local_provider.go refactor(storage): move LocalProvider to internal/storage package 2026-01-21 20:41:53 -08:00
metadata.go feat: allow UpdateIssue metadata updates via json.RawMessage/[]byte (#1417) 2026-02-03 17:55:23 -08:00
metadata_test.go feat: allow UpdateIssue metadata updates via json.RawMessage/[]byte (#1417) 2026-02-03 17:55:23 -08:00
provider.go fix(orphans): honor --db flag for cross-repo orphan detection (#1200) 2026-01-21 19:52:31 -08:00
storage.go fix: add atomic compare-and-swap semantics to bd claim (#1474) 2026-02-03 15:07:40 -08:00
storage_test.go fix: add atomic compare-and-swap semantics to bd claim (#1474) 2026-02-03 15:07:40 -08:00
versioned.go feat(federation): add SQL user authentication for peer sync 2026-01-20 21:15:11 -08:00
versioned_test.go feat(storage): add VersionedStorage interface with history/diff/branch operations 2026-01-17 01:55:16 -08:00