High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): point the migrations mise task at sql-tools (#30996)
bo0tzzf2645738470e
diff --git a/server/mise.toml b/server/mise.tomlindex 1462af0c52..aeea1be88b 100644--- a/server/mise.toml+++ b/server/mise.toml@@ -39,8 +39,9 @@ run = "node ./dist/bin/sync-sql.js"run = "node ./dist/bin/sync-open-api.js"[tasks.migrations]-run = "node ./dist/bin/migrations.js"-description = "Run database migration commands (create, generate, run, debug, or query)"+env._.path = "./node_modules/.bin"+run = "sql-tools -u ${DB_URL:-postgres://postgres:postgres@localhost:5432/immich} migrations"+description = "Run database migration commands (create, generate, run, sync-order, verify-order, ...)"[tasks."schema-drop"]run = { task = "migrations query 'DROP schema public cascade; CREATE schema public;'" }