From 82164738533eabc00c45e9dec94336fcc2a02019 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Sat, 26 Apr 2025 17:39:46 +0200 Subject: [PATCH] feat(frontend): Add betterauth migration script --- legalconsenthub/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/legalconsenthub/package.json b/legalconsenthub/package.json index cd04c40..eb4996d 100644 --- a/legalconsenthub/package.json +++ b/legalconsenthub/package.json @@ -13,7 +13,8 @@ "lint": "eslint .", "lint:fix": "eslint . --fix", "api:generate": "openapi-generator-cli generate -i ../legalconsenthub-backend/api/legalconsenthub.yml -g typescript-fetch -o .api-client", - "fix:bettersqlite": "cd node_modules/better-sqlite3 && pnpm dlx node-gyp rebuild && cd ../.." + "fix:bettersqlite": "cd node_modules/better-sqlite3 && pnpm dlx node-gyp rebuild && cd ../..", + "migrate:betterauth": "pnpm dlx @better-auth/cli migrate --config server/utils/auth.ts" }, "dependencies": { "@nuxt/ui-pro": "3.0.1",