We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e386653 commit a3daa16Copy full SHA for a3daa16
README.md
@@ -60,7 +60,7 @@ import {
60
createPostgresDb,
61
useServerLogger // from @witchcraft/nuxt-logger
62
} from "#imports"
63
-import * as schema from "~~/db/schem.js"
+import * as schema from "~~/db/schema.js"
64
65
export const {
66
migrate,
@@ -72,8 +72,7 @@ Setup $postgres on event and optionally migrate the db when starting the server:
72
73
```ts [server/plugins/init.ts]
74
import { defineNitroPlugin } from "#imports"
75
-import { migrate } from "#postgres"
76
-import { postgres } from "../path/to/instance/or#postgres"
+import { migrate, postgres } from "../path/to/instance/or#postgres"
77
78
export default defineNitroPlugin((nitroApp) => {
79
0 commit comments