Class: Cequel::Schema::Patch::DropIndex
- Inherits:
-
AbstractChange
- Object
- AbstractChange
- Cequel::Schema::Patch::DropIndex
- Defined in:
- lib/cequel/schema/patch.rb
Overview
Instance Attribute Summary collapse
- #index_name ⇒ Object readonly
Attributes inherited from AbstractChange
Instance Method Summary collapse
Methods inherited from AbstractChange
Instance Attribute Details
#index_name ⇒ Object (readonly)
81 82 83 |
# File 'lib/cequel/schema/patch.rb', line 81 def index_name @index_name end |
Instance Method Details
#to_cql ⇒ Object
83 84 85 |
# File 'lib/cequel/schema/patch.rb', line 83 def to_cql %Q|DROP INDEX IF EXISTS "#{index_name}"| end |