Skip to content
This repository was archived by the owner on Sep 21, 2020. It is now read-only.
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

hstore indexes not saved to schema.rb correctly. #120

@urkle

Description

@urkle

The hstore indexes are not saved to schema.rb correctly..

instead of saving an add_hstore_index line it simply creates an add_index line, thus the 'gin' index isn't created.

A related issue is that the add_hstore_index :table, :column, :type => :gin doesn't work. (the AR method add_index_options doesn't support a :type option, only :name and :unique).

We are running Rails 3.2.x (going to 4.0 right now isn't an option.. though it's on our roadmap)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions