Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
kevin
@kevinoconnell
whats the easiest way to set up postgres DB migrations in typescript if you already have a working database and you were too lazy to set them up initially? (speaking for a friend, totally not me guys don't worry) ideally can dump a given DB schema and run a command to generate them so others can run it locally much easier i use this https://www.npmjs.com/package/pg for my db
6 replies
2 recasts
5 reactions
alex
@alexgrover.eth
Most modern ORMs can introspect your existing schema and do this. I use Drizzle
3 replies
1 recast
5 reactions
kevin
@kevinoconnell
oh sick lets go
1 reply
0 recast
0 reaction
kevin
@kevinoconnell
This is so great @alexgrover.eth thank you so much
1 reply
0 recast
1 reaction