Description
Hi, thanks for maintaining this starter template.
I noticed a small inconsistency between the README and the current package versions.
In the README version table, the main branch is documented as using Prisma v4, but the current package.json appears to use Prisma v5.
Also, some Prisma migrate scripts still include the deprecated --preview-feature flag.
Current behavior
The README version table says:
main | v9 | v4 | Code-first
But `package.json` uses Prisma v5:
json
"@prisma/client": "^5.0.0",
"prisma": "^5.0.0"
Some scripts also still include `--preview-feature`, for example:
json
"migrate:dev": "prisma migrate dev --preview-feature",
"migrate:dev:create": "prisma migrate dev --create-only --preview-feature",
"migrate:reset": "prisma migrate reset --preview-feature",
"migrate:deploy": "npx prisma migrate deploy --preview-feature",
"migrate:status": "npx prisma migrate status --preview-feature",
"migrate:resolve": "npx prisma migrate resolve --preview-feature"
## Expected behavior
The README version table should reflect the current versions used by the project.
Also, the Prisma migrate scripts could potentially be updated by removing the deprecated `--preview-feature` flag, since Prisma Migrate is no longer a preview feature in recent Prisma versions.
## Suggested changes
Possible updates:
md
main | v10 | v5 | Code-first
And update the migrate scripts to:
json
"migrate:dev": "prisma migrate dev",
"migrate:dev:create": "prisma migrate dev --create-only",
"migrate:reset": "prisma migrate reset",
"migrate:deploy": "npx prisma migrate deploy",
"migrate:status": "npx prisma migrate status",
"migrate:resolve": "npx prisma migrate resolve"
## Additional context
This could help new users avoid confusion when setting up the project, especially if they compare the README version table with the installed dependencies.
Description
Hi, thanks for maintaining this starter template.
I noticed a small inconsistency between the README and the current package versions.
In the README version table, the
mainbranch is documented as using Prisma v4, but the currentpackage.jsonappears to use Prisma v5.Also, some Prisma migrate scripts still include the deprecated
--preview-featureflag.Current behavior
The README version table says: