client-ts icon indicating copy to clipboard operation
client-ts copied to clipboard

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

Open eemmiillyy opened this issue 1 year ago • 1 comments

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

eemmiillyy avatar Apr 12 '24 11:04 eemmiillyy

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

SferaDev avatar Apr 12 '24 15:04 SferaDev