Skip to content

Missing support trigram indexes / index opclasses #287

@us2-robot

Description

@us2-robot

Hi, given the release of trigram indexes, I have tried to implement them in my django app. However, the migrations are failing. From what I can tell, django-cockroachdb hasn't been updated to support them yet (as seen here)

The output from python manage.py sqlmigrate confirms this:

When using engine django_cockroachdb, output shows CREATE INDEX "study_firstName" ON "study_study" USING gist ("firstName");

When using engine django.db.backends.postgresql, output shows CREATE INDEX "study_firstName" ON "study_study" USING gist ("firstName" gist_trgm_ops);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions