Skip to content

Postgres pg_trgm type of index #1519

@pratham2003

Description

@pratham2003

Issue type:
question

Database system/driver:
postgres

How do i add a custom index like following one using TypeORM?
CREATE INDEX symbol_idx ON public.some_table USING GIN(symbol gin_trgm_ops);
I added it using a query directly but the synchronize feature in TypeORM deletes it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions