client-ts
client-ts copied to clipboard
Create pgroll utils package that can also be used by the frontend-next app
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
We can probably reuse @xata.io/pgroll with a /utils module export