xataio / client-ts

Xata.io SDK for TypeScript and JavaScript
https://xata.io/docs/sdk/typescript/overview
Apache License 2.0
120 stars 8 forks source link

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

Open eemmiillyy opened 6 months ago

eemmiillyy commented 6 months ago

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 commented 6 months ago

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