unique
ignored on single-column index without explicit name
#195
Labels
unique
ignored on single-column index without explicit name
#195
(using TypeORM v0.0.6 with SQLite engine)
Adding
@Index({unique: true})
to a column creates a non-unique index. Adding an explicit index name to theIndex
call fixes the issue:without index name:
generates schema:
with index name:
generates schema:
The text was updated successfully, but these errors were encountered: