mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-30 21:00:00 +00:00
Move primaryDb into driver
This commit is contained in:
parent
d8b662496b
commit
3e01bfef7d
4 changed files with 4 additions and 13 deletions
|
|
@ -20,7 +20,7 @@ function createDb() {
|
|||
|
||||
export const db = createDb();
|
||||
export default db;
|
||||
export const driver: "pg" | "sqlite" = "sqlite";
|
||||
export const primaryDb = db;
|
||||
export type Transaction = Parameters<
|
||||
Parameters<(typeof db)["transaction"]>[0]
|
||||
>[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue