Do it in style

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2006-03-25 23:10:09 +00:00
parent 5b63c84307
commit 3cec029685

View File

@@ -193,9 +193,9 @@ module ActiveRecord
end
def columns(table_name, name = nil) #:nodoc:
table_structure(table_name).map { |field|
table_structure(table_name).map do |field|
SQLiteColumn.new(field['name'], field['dflt_value'], field['type'], field['notnull'] == "0")
}
end
end
def indexes(table_name, name = nil) #:nodoc: