MySQL multi-value index removes the primary key on introspection #18471
Labels
kind/bug
A reported bug.
team/schema
Issue for team Schema.
tech/engines/introspection engine
Issue in the Introspection Engine
topic: indexes
topic: introspection
topic: mysql 8
Milestone
With the given DDL:
The introspection will not render the =@id= attribute to the =id= field:
If we do not have the index defined, we correctly render the id as
id Int @id @default(autoincrement())
.The text was updated successfully, but these errors were encountered: