tauri-apps / tauri-apps/plugins-workspace
[sqlite] How to drop database and applied migration history?
Open
plugin: sql
type: question
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 602
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 9
Description
It is not clear how to drop entire database and the history of applied migrations from the documentation. I found database file in app storage(/.local/share/APP_NAME), but seems like truncating this file not clears migration history, because I got error on init:
`error while running tauri application: PluginInitialization("sql", "migration 1 was previously applied but has been modified")`
Contributor guide
Assessment
This issue has not been assessed yet.