From 15664223ee2b269dce6171984ea3cca8b20318b2 Mon Sep 17 00:00:00 2001 From: seb Date: Sun, 20 Sep 2026 16:33:38 +0200 Subject: [PATCH] u --- src/db/store.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/db/store.js b/src/db/store.js index 444de2d..7202cac 100644 --- a/src/db/store.js +++ b/src/db/store.js @@ -1,6 +1,7 @@ import chalk from 'chalk'; import sql from 'mssql'; import LibDashStore from 'libdashstore'; +import { MssqlProvider } from 'libdashstore/providers/mssql'; import env from '../config/env.js'; let pool; @@ -119,7 +120,9 @@ export async function getStore() { if (!connecting) { connecting = (async () => { pool = await new sql.ConnectionPool(getMssqlConfig()).connect(); - store = wrapStoreWithTiming(await new LibDashStore(pool)); + store = wrapStoreWithTiming( + await new LibDashStore(new MssqlProvider(pool)) + ); return store; })().finally(() => { connecting = undefined;