Delete (Recreate Database) - WebWorker
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Sorry if this is an obvious answer, I scanned through the docs, I couldn't see anything obvious where using the web worker I could delete and recreate the db file. There's obviously some cases where migrations go wrong, and would need to nuke the db. (Rather than telling users to go and clear the website cache :)
For extra reference, we use sql.js via Sql Delight (WasmJs Kotlin Multiplatform)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reviewing the WebWorker database lifecycle and the documentation referenced in the issue, then determine how sql.js exposes database deletion and recreation. Done means a web-worker user can reset the database without clearing the browser cache, with behavior documented and tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wasm
- Domain
- databases, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100