No documentation

# File activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb, line 521def copy_table_indexes(from,to,rename={})#:nodoc:indexes(from).eachdo|index|name=index.nameifto=="altered_#{from}"name="temp_#{name}"elsiffrom=="altered_#{to}"name=name[5..-1]endto_column_names=columns(to).map{|c|c.name}columns=index.columns.map{|c|rename[c]||c}.selectdo|column|to_column_names.include?(column)endunlesscolumns.empty?# index name can't be the sameopts={:name=>name.gsub(/(^|_)(#{from})_/,"\\1#{to}_")}opts[:unique]=trueifindex.uniqueadd_index(to,columns,opts)endendend