method
alter_table
alter_table(table_name, options = {})
protected
Hide source
# File activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb, line 323 def alter_table(table_name, options = {}) #:nodoc: altered_table_name = "altered_#{table_name}" caller = lambda {|definition| yield definition if block_given?} transaction do move_table(table_name, altered_table_name, options.merge(:temporary => true)) move_table(altered_table_name, table_name, &caller) end end


