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