diff options
| author | Ellie Huxtable <ellie@atuin.sh> | 2026-03-03 23:40:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-03 23:40:45 +0100 |
| commit | fcea2b28d0cc488e63e07dfea2cc72e19702daa2 (patch) | |
| tree | 8b75db97a0ac934f7f5191eb378cc69686564d25 /cliff.toml | |
| parent | feat: update script for smoother setup (#3230) (diff) | |
| download | atuin-fcea2b28d0cc488e63e07dfea2cc72e19702daa2.zip | |
fix: clear script database before rebuild to prevent unique constraint violation (#3232)
The script store build() replays all records from the record store into
SQLite but never cleared the database first. Stale rows from previous
builds caused unique constraint violations on the name index when
scripts were renamed or recreated.
<!-- Thank you for making a PR! Bug fixes are always welcome, but if
you're adding a new feature or changing an existing one, we'd really
appreciate if you open an issue, post on the forum, or drop in on
Discord -->
## Checks
- [ ] I am happy for maintainers to push small adjustments to this PR,
to speed up the review cycle
- [ ] I have checked that there are no existing pull requests for the
same thing
Diffstat (limited to 'cliff.toml')
0 files changed, 0 insertions, 0 deletions
