Hey friends :wave: we just published an article on...
# orm-help
j
Hey friends 👋 we just published an article on Prisma's Data Guide about what database migrations are and how they work https://www.prisma.io/dataguide/types/relational/what-are-database-migrations
🇰🇷 3
prisma green 6
🔥 7
fast parrot 6
prisma rainbow 2
v
Really nice write up @Justin Ellingwood 🔥 I just switched to use knex.js to handle database migrations in favor of Prisma's own migrate tool. I feel knex gives me more power to deal with database changes. So instead of manually changing
schema.prisma
we use
knex.js
to update the database and then run
prisma introspect
so that Prisma itself will update
schema.prisma
based on the database. Both solutions can work well, just thought I'd give this feedback!