| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Reviewer's GuideThis PR fixes schema validation errors by replacing unsupported PostgreSQL native type annotations in the MySQL Prisma schema with correct MySQL types or defaults, and adds the missing opposite relation fields on the Instance model to complete bidirectional relations. File-Level Changes
Tips and commands Interacting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Sorry, something went wrong.
There was a problem hiding this comment.
Hey @bilaliqbalr - I've reviewed your changes and they look great!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
🐞 Describe the bug
When running the container and executing Prisma commands for MySQL, Prisma throws schema validation errors due to incorrect native type usage in mysql-schema.prisma. The current schema uses PostgreSQL-native types (@db.Integer, @db.Boolean, etc.), which are not valid for MySQL.
🧪 Steps to reproduce
Which version of the API are you using?
latest
What is your environment?
Linux
Other environment specifications
No response
If applicable, paste the log output
Summary by Sourcery
Fix Prisma schema validation errors for MySQL by correcting unsupported native type annotations on Boolean and Int fields and restoring missing inverse relations on the Instance model.
Bug Fixes: