Skip to content

Commit d613f0a

Browse files
committed
Added relations import to setup example.
1 parent 91427a1 commit d613f0a

File tree

1 file changed

+1
-0
lines changed
  • client-sdk-references/javascript-web/javascript-orm

1 file changed

+1
-0
lines changed

client-sdk-references/javascript-web/javascript-orm/drizzle.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Currently, you need to create the Drizzle schema manually, and it should match t
2121
```js
2222
import { wrapPowerSyncWithDrizzle } from "@powersync/drizzle-driver";
2323
import { PowerSyncDatabase } from "@powersync/web";
24+
import { relations } from "drizzle-orm";
2425
import { index, integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
2526
import { appSchema } from "./schema";
2627

0 commit comments

Comments
 (0)