9050 shaares
210 private links
210 private links
Can one have a project with a relational database that is deployed early and often, and not have thousands of SQL migration scripts? Seems like it’s difficult to have both. Maybe there’s some way to “roll up” old migration scripts into one nice SQL schema. I guess running them all on a new database and exporting the schema will do that. 🤔
Prisma provides a "baseline" to reset merge all migration scripts. There are always many migrations though.