Changeset 0.29.0 (#195)

This commit is contained in:
2026-03-17 16:28:47 +00:00
parent 128cbb8174
commit 5d637d3a90
129 changed files with 9418 additions and 3016 deletions

View File

@@ -254,3 +254,12 @@ func (s *FileStore) ListOrphans(ctx context.Context, olderThan time.Duration) ([
}
return out, rows.Err()
}
// ── CS5c additions (v0.29.0) ──────────────────────────────────────────
func (s *FileStore) UpdateStorageKey(ctx context.Context, id, key string) error {
_, err := DB.ExecContext(ctx,
`UPDATE files SET storage_key = ?, updated_at = datetime('now') WHERE id = ?`,
key, id)
return err
}