class Cequel::Schema::Patch::AddColumn
Attributes
column[R]
Public Instance Methods
to_cql()
click to toggle source
# File lib/cequel/schema/patch.rb, line 120 def to_cql %Q|ALTER TABLE "#{table.name}" ADD #{column.to_cql}| end
Protected Instance Methods
post_init(column)
click to toggle source
# File lib/cequel/schema/patch.rb, line 114 def post_init(column) @column = column end
subclass_eql?(other)
click to toggle source
# File lib/cequel/schema/patch.rb, line 126 def subclass_eql?(other) other.column == column end