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

Create pgroll utils package that can also be used by the frontend-next app #1438

Open
eemmiillyy opened this issue Apr 12, 2024 · 1 comment

Comments

@eemmiillyy
Copy link
Contributor

Right now we have a bunch of duplicate pgroll logic for transforming the branch schema/running migrations/updating constraints/coercing column types inside /cli and frontend-next repo. We should probably create a shared package that contains these utils/helpers so we only have them in once place.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

@SferaDev
Copy link
Member

We can probably reuse @xata.io/pgroll with a /utils module export

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

No branches or pull requests

2 participants