Skip to content

How to create PRIMARY KEY index in typeorm? (index has name) #4572

@avilang

Description

@avilang

@index("index_XX")
@column({ primary:true })
is not work.

Result:
There are two indexes, one is the primary key index and the other is the normal index.

Expectations:
Only primary key index

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions