Ralph::Migrations::Schema::GistIndexDefinition
Represents a GiST (Generalized Search Tree) index
GiST indexes are optimized for:
- Geometric data types (point, circle, polygon)
- Range types
- Full-text search (alternative to GIN)
- Nearest-neighbor searches
Example
create_table :locations do |t|
t.float :latitude
t.float :longitude
t.gist_index [:latitude, :longitude]
end
Constructors
Instance methods
columns
Sourcename
Sourcetable
Sourceto_drop_sql
Sourceto_sql
Source