class ActiveRecord::ConnectionAdapters::SQLite3Adapter

def table_structure(table_name)

:nodoc:
:nodoc:
def table_structure(table_name)
  @connection.table_info(quote_table_name(table_name)).tap do |structure|
    raise(ActiveRecord::StatementInvalid, "Could not find table '#{table_name}'") if structure.empty?
  end
end