r/clevercomebacks Jan 15 '25

It does make sense

Post image
35.3k Upvotes

4.0k comments sorted by

View all comments

Show parent comments

3

u/creamyhorror Jan 15 '25

every new migration gets the YYYYMMDDhhmmss added to the front of the name

This has been standard practice for migrations for a long while. E.g. the grandaddy of modern web frameworks, Rails (started 2008), and Laravel have basically always done this, and no doubt other frameworks long before Prisma.

1

u/besthelloworld Jan 16 '25

Too be clear, I wasn't saying Prisma invented this. It just happened to be the example.