Skip to content
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

Better error message if using TEXT or BLOB in MySQL @id/@index/@unique #10292

Closed
pimeys opened this issue Nov 16, 2021 · 0 comments · Fixed by prisma/prisma-engines#2905
Closed
Assignees
Labels
kind/improvement An improvement to existing feature and code. team/schema Issue for team Schema. topic: error topic: extendedIndexes topic: indexes
Milestone

Comments

@pimeys
Copy link
Contributor

pimeys commented Nov 16, 2021

We now say this is not allowed. We should point to the correct preview feature and mention about using the length argument for indexes to work with TEXT or BLOB fields.

@janpio janpio added kind/improvement An improvement to existing feature and code. topic: error labels Nov 17, 2021
@tomhoule tomhoule removed process/candidate kind/improvement An improvement to existing feature and code. topic: error labels Nov 17, 2021
@janpio janpio added kind/improvement An improvement to existing feature and code. topic: error labels Nov 17, 2021
@do4gr do4gr mentioned this issue Mar 16, 2022
33 tasks
@pimeys pimeys self-assigned this May 6, 2022
@janpio janpio added this to the 3.14.0 milestone May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement An improvement to existing feature and code. team/schema Issue for team Schema. topic: error topic: extendedIndexes topic: indexes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants