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

[PG, Neon] Add neon_identity integration #3960

Merged

Conversation

pffigueiredo
Copy link
Contributor

@pffigueiredo pffigueiredo commented Jan 16, 2025

Description

This PR aims to add Neon Identity related databased objects to the drizzle-orm sdk, so that Neon users that want to use Neon Identity with Drizzle, can simply import the pre-defined schemas and don't need to define them by hand everytime.

FEATURES

  • define neon_identity schema
  • define and export users_sync table

Test Plan

Added a small test that asserts the schema, table name and columns included.
Also installed the local drizlzle-orm version and used to usersSync export to make sure everything worked fine.

image

Subscribers

cc @davidgomes

Issue

Relates to #3959

AndriiSherman and others added 2 commits January 16, 2025 16:17
@davidgomes
Copy link
Contributor

Looks good to me 😎

@pffigueiredo
Copy link
Contributor Author

Also, I'm wondering if it makes sense to just export the users_sync type from here, or if we should let the consumers derive it 🤔

@AndriiSherman AndriiSherman changed the base branch from main to beta January 23, 2025 10:43
@AndriiSherman AndriiSherman merged commit eec8c31 into drizzle-team:beta Jan 23, 2025
0 of 7 checks passed
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.

3 participants