Skip to content

Commit ce58c22

Browse files
committed
fix: make sure to create the pglite directory
1 parent fc79266 commit ce58c22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/features/database.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export async function setupDatabase(nuxt: Nuxt, hub: HubConfig) {
9494
dataDir: join(hub.dir!, 'database/pglite')
9595
}
9696
}
97+
await mkdir(join(hub.dir!, 'database/pglite'), { recursive: true })
9798
}
9899
} else if (dialect === 'sqlite') {
99100
logWhenReady(nuxt, '`hubDatabase()` configured with `SQLite` during local development')

0 commit comments

Comments
 (0)