lib/cassandra_migrations/migration/column_operations.rb
# Removes a column from the table
Removes a column from the table
Removes a column from the table
def remove_column(table_name, column_name)
        announce_operation "drop_table(#{table_name})"
        cql =  "ALTER TABLE #{table_name} DROP #{column_name}"
        announce_suboperation cql
        execute cql
      end
def remove_column ( table_name , column_name ) announce_operation "drop_table(#{table_name})" cql = "ALTER TABLE #{table_name} DROP #{column_name}" announce_suboperation cql execute cql end
Removes a column from the table
Removes a column from the table
table_name
column_name