# File lib/active_record/connection_adapters/nulldb_adapter.rb, line 108 def columns(table_name, name = nil) if @tables.size <= 1 ActiveRecord::Migration.verbose = false Kernel.load(File.join(RAILS_ROOT, @schema_path)) end table = @tables[table_name] table.columns.map do |col_def| ActiveRecord::ConnectionAdapters::Column.new(col_def.name.to_s, col_def.default, col_def.type, col_def.null) end end