Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(db-sqlite): add idType: 'uuid' support #10016

Merged
merged 2 commits into from
Dec 19, 2024
Merged

Conversation

r1tsuu
Copy link
Member

@r1tsuu r1tsuu commented Dec 17, 2024

Adds idType: 'uuid' to the SQLite adapter support:

sqliteAdapter({
  idType: 'uuid',
})

Achieved through Drizzle's $defaultFn() https://orm.drizzle.team/docs/latest-releases/drizzle-orm-v0283#-added-defaultfn--default-methods-to-column-builders as SQLite doesn't have native UUID support. Added sqlite-uuid to CI.

@r1tsuu r1tsuu force-pushed the feat/db-sqlite-uuid branch from cc06e73 to 99c5a58 Compare December 17, 2024 03:45
@DanRibbens DanRibbens merged commit 03ff775 into main Dec 19, 2024
66 checks passed
@DanRibbens DanRibbens deleted the feat/db-sqlite-uuid branch December 19, 2024 03:44
Copy link
Contributor

🚀 This is included in version v3.10.0

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

Successfully merging this pull request may close these issues.

2 participants