Fix import issue in migrations

This commit is contained in:
Owen
2026-06-09 16:51:55 -07:00
parent 3a485f74f1
commit 96a54fc9cc
3 changed files with 7 additions and 9 deletions

View File

@@ -87,7 +87,7 @@ function createDb() {
export const db = createDb();
export default db;
export const primaryDb = db.$primary as typeof db; // is this typeof a problem - techincally they are different types
export const primaryDb = db.$primary as typeof db; // is this typeof a problem - technically they are different types
export type Transaction = Parameters<
Parameters<(typeof db)["transaction"]>[0]
>[0];