prisma / language-tools

🌐 Prisma Language Tools = Language Server and Prisma's VS Code extension.
https://marketplace.visualstudio.com/items?itemName=Prisma.prisma
Apache License 2.0
257 stars 36 forks source link

Indicator that you changed the schema but did not regenerate the Client #195

Open janpio opened 4 years ago

janpio commented 4 years ago

When you modify your schema, you also need to prisma generate so that your Prisma Client still works with your database. This tends to be forgotten quite often, so an indicator in VSCode to do this would be nice.

Random idea: Have a traffic light like indicator that goes from green to red when you modified your schema and did not regenerate your Client yet.

janpio commented 4 years ago

(Same idea could be applied to Migrate when it exists)

jpaas commented 2 years ago

Or even better, the extension could watch the schema and regenerate automatically