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
dylan
@dylsteck.eth
big +1 to drizzle, have been using it as my preferred orm over prisma and kysely
1 reply
0 recast
3 reactions
kevin
@kevinoconnell
oh sick lets go
1 reply
0 recast
0 reaction
killjoy.eth
@killjoy
This is the way.
0 reply
0 recast
1 reaction