mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-10 11:13:48 +02:00
Add migration steps to DEVELOPMENT.md
This commit is contained in:
@@ -10,3 +10,10 @@ Then, you can run the app.
|
|||||||
1. Checkout the [plugins](https://github.com/yaakapp/plugins) repository
|
1. Checkout the [plugins](https://github.com/yaakapp/plugins) repository
|
||||||
2. Run `YAAK_PLUGINS_DIR="..." npm run build` to generate an icon, fetch external binaries, and build local JS dependencies
|
2. Run `YAAK_PLUGINS_DIR="..." npm run build` to generate an icon, fetch external binaries, and build local JS dependencies
|
||||||
3. Run the desktop app in dev mode `npm start`
|
3. Run the desktop app in dev mode `npm start`
|
||||||
|
|
||||||
|
## SQLite Migrations
|
||||||
|
|
||||||
|
1. From `src-tauri/`, run `sqlx migrate add migration-name`
|
||||||
|
2. Migrate the DB by running the app (may need to `cargo clean` first)
|
||||||
|
|
||||||
|
_Note: Yaak development builds use a separate database location than production releases_
|
||||||
|
|||||||
Reference in New Issue
Block a user