-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore:grouping prisma models into separate domain files #172
chore:grouping prisma models into separate domain files #172
Conversation
The prisma dependencies was updated to the latest version to use the new feature of multiple schemas.
…forms, solo projects, team meetings, team resources, team project ideas, team project features, team stack, and tokens The new models have been added to the schema to support various functionalities. These include the onboarding checklist, health check, forms, solo projects, team meetings, team resources, team project ideas, team project features, team stack, and tokens. These models will enable the application to manage and track user onboarding, health check status, form submissions, solo projects, team meetings, team resources, project ideas, project features, tech stack, and tokens for password reset and email verification.
…ed by domain type The prisma models have been refactored to be grouped by domain type. This improves the organization and maintainability of the codebase by grouping related models together.
The prisma dependency has been updated to version 5.16.1. This update may include bug fixes, performance improvements, or new features provided by the prisma library.
I noticed that the tests have passed. But if you try to push, studio, or migrate the db, you will face with errors like this: UPDATE:I ran |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ran all the more frequently used prisma commands and tests, all good 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything passed without any hiccups - seed, migrate, studio all worked - looks good!
Description
The prisma dependencies was updated to the latest version to use the new feature of multiple schemas. Also the main schema file was refactored to have related models grouped into a same domain files with clear naming conventions.
Issue link
Fixes # (issue)
https://app.clickup.com/t/86b0zg2qf
Type of change
How Has This Been Tested?
yarn
yarn seed
to check if the prisma will still populate the databaseyarn test:docker
to check if test still passChecklist:
Useful links:
how-to-use-existing-prisma-cli-commands-with-multiple-prisma-schema-files