From 085580b94a68ce03bdcebcceb1a536156e7d2ca2 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Thu, 19 Sep 2024 14:20:57 -0700 Subject: [PATCH] Add migration steps to DEVELOPMENT.md --- DEVELOPMENT.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 53105b48..1e244a0e 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -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_