go get github.com/elves/upgrade-db-for-0.10
After upgrading Elvish to the latest commit:
- Kill the daemon:
kill $daemon:pid
- Rename current db:
mv ~/.elvish/db ~/.elvish/db.sqlite
- Convert db to new format:
upgrade-db-for-0.10 ~/.elvish/db.sqlite ~/.elvish/db
- Restart daemon:
daemon:spawn