Validating index length prefixes #10288
Labels
kind/improvement
An improvement to existing feature and code.
team/schema
Issue for team Schema.
tech/engines/datamodel
Issue about parsing/validation/rendering of the Prisma schema
topic: extendedIndexes
topic: index length
topic: indexes
topic: mysql
MySQL holds special rules about the size of the length prefix. These rules are different on text and bytes columns, and we should maybe catch them in datamodel validation before erroring out in the database.
This should follow up the work on redefining native type and connector specific validations.
Related bug reports:
The text was updated successfully, but these errors were encountered: