Skip to content

Commit

Permalink
Float Columns in sqlite3 were reporting themselves as type nil
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Enebo committed Mar 16, 2009
1 parent c2a6cde commit 8ee5ad0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/jdbc_adapter/jdbc_sqlite3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def simplified_type(field_type)
when /integer\(1\)/i then :boolean
when /text/i then :string
when /int/i then :integer
when /float/i then :float
when /real/i then @scale == 0 ? :integer : :decimal
when /datetime/i then :datetime
when /date/i then :date
Expand Down

0 comments on commit 8ee5ad0

Please sign in to comment.