diff options
| author | Ryan <hi@sped0n.com> | 2026-02-09 14:14:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-08 22:14:50 -0800 |
| commit | 92b0e90855c1f92be323fe9d56b8c28971e0ce18 (patch) | |
| tree | 01108074b6d03c8831a2d2420176a51365a7adc3 /flake.lock | |
| parent | fix: issue with shift and modifier keys (#3143) (diff) | |
| download | atuin-92b0e90855c1f92be323fe9d56b8c28971e0ce18.zip | |
fix: remove invalid IF EXISTS from sqlite drop column migration (#3145)
<!-- 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
- [x] I am happy for maintainers to push small adjustments to this PR,
to speed up the review cycle
- [x] I have checked that there are no existing pull requests for the
same thing
## Summary
SQLite doesn't support an `IF NOT EXISTS` on `ALTER TABLE`
> https://www.sqlite.org/lang_altertable.html
```
atuin | Caused by:
atuin | Other(while executing migration 20260127000000: error returned from database: (code: 1) near "exists": syntax error
atuin |
atuin | Caused by:
atuin | 0: error returned from database: (code: 1) near "exists": syntax error
atuin | 1: (code: 1) near "exists": syntax error
```
The fix works on my setup
Ref:
https://github.com/atuinsh/atuin/pull/3108#pullrequestreview-3713606584
Signed-off-by: Sped0n <hi@sped0n.com>
Diffstat (limited to 'flake.lock')
0 files changed, 0 insertions, 0 deletions
