Skip to content

Commit a3daa16

Browse files
committed
docs: fix README
1 parent e386653 commit a3daa16

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ import {
6060
createPostgresDb,
6161
useServerLogger // from @witchcraft/nuxt-logger
6262
} from "#imports"
63-
import * as schema from "~~/db/schem.js"
63+
import * as schema from "~~/db/schema.js"
6464

6565
export const {
6666
migrate,
@@ -72,8 +72,7 @@ Setup $postgres on event and optionally migrate the db when starting the server:
7272

7373
```ts [server/plugins/init.ts]
7474
import { defineNitroPlugin } from "#imports"
75-
import { migrate } from "#postgres"
76-
import { postgres } from "../path/to/instance/or#postgres"
75+
import { migrate, postgres } from "../path/to/instance/or#postgres"
7776

7877
export default defineNitroPlugin((nitroApp) => {
7978

0 commit comments

Comments
 (0)