I would see my Productivity increased if there was...
# orm-help
s
I would see my Productivity increased if there was a way to quickly diff between two
schema.prisma
files locally (without having to run migrate commands) and directly output the result as SQL (such as:
prisma diff schema1.prisma schema2.prisma --sql
). By any chance - any undocumented way to achieve this? Or is the migration engine tightly coupled to the database itself, as opposed to the schema files?
๐Ÿ‘ 1
r
@Sylvain (seel-vahn) ๐Ÿ‘‹ It would be great if you could add a ๐Ÿ‘ to this request so that we can look into this ๐Ÿ™‚
Currently thereโ€™s no best way to do this though, but adding this built-in the CLI would be super helpful.
s
Thanks @Ryan - will add my thoughts to the request thread you mentioned
๐Ÿ™Œ 1
If anyone else would like to see this feature added, please upvote! https://github.com/prisma/prisma/issues/7738