Add migration steps to DEVELOPMENT.md

This commit is contained in:
Gregory Schier
2024-09-19 14:20:57 -07:00
parent 53b8463223
commit 085580b94a

View File

@@ -10,3 +10,10 @@ Then, you can run the app.
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
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_