You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/docs/content/docs/adapters.mdx
+86Lines changed: 86 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,92 @@ To generate new migrations:
117
117
bun run generate:postgres
118
118
```
119
119
120
+
## Integrating Duron Schema into Your Own Drizzle Schema
121
+
122
+
If you're already using Drizzle ORM in your project and want to manage all migrations together, you can include Duron's schema in your own Drizzle schema instead of using Duron's automatic migrations.
123
+
124
+
### Step 1: Import and Include Duron's Schema
125
+
126
+
In your Drizzle schema file (e.g., `schema.ts`), import `createSchema` from Duron and include the tables:
0 commit comments