Skip to content

feat(db): support drizzle orm v1 & relations v2#825

Open
Sqh3rd wants to merge 21 commits intonuxt-hub:mainfrom
Sqh3rd:add-support-for-relations-v2
Open

feat(db): support drizzle orm v1 & relations v2#825
Sqh3rd wants to merge 21 commits intonuxt-hub:mainfrom
Sqh3rd:add-support-for-relations-v2

Conversation

@Sqh3rd
Copy link

@Sqh3rd Sqh3rd commented Feb 9, 2026

Adds support for drizzle relations v2 introduced in drizzle v1-beta

Closes #764

@vercel
Copy link

vercel bot commented Feb 9, 2026

@Sqh3rd is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

@RihanArfan RihanArfan self-requested a review February 10, 2026 03:31
@branislavjuhaas
Copy link
Contributor

I love this concept!

@RihanArfan RihanArfan changed the title Add support for relations v2 feat(db): support drizzle orm v1 & relations v2 Feb 10, 2026
@Sqh3rd
Copy link
Author

Sqh3rd commented Feb 11, 2026

Just noticed that the type definition I added does not properly handle the case when there's multiple relationParts defined. I'll take a look today and tomorrow in order to fix that

Copy link
Member

@RihanArfan RihanArfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR! 💚 Left one small comment, but otherwise looks great.

@RihanArfan
Copy link
Member

Right now we're waiting for the Drizzle Team to add API support for Drizzle Studio MySQL and SQLite in v1.

Then we'll need to fix a bug with nuxt db squash now that there's no more journal, and document the requireddrizzle-kit up command for upgrading.

@Sqh3rd
Copy link
Author

Sqh3rd commented Feb 15, 2026

thanks a lot for your support! If you need/want any support from me please ping me, otherwise I'll mark this PR in my mind as "basically completed" 😄

@adamkasper
Copy link
Contributor

@RihanArfan hey, could you enable https://pkg.pr.new for this PR? :)

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 16, 2026

npm i https://pkg.pr.new/@nuxthub/core@825

commit: 55e4f03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

drizzle v1 support

4 participants