aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorCarlos Kozuszko <carlos@insignia4u.com>2009-01-04 22:49:37 +0000
committerPratik Naik <pratiknaik@gmail.com>2009-01-16 17:23:35 +0000
commit5ed119c005864b586a259e9d8def5f7aef8a4e54 (patch)
treed0906b6ccfc1b3ba25b665e142601b46d13037a0 /activerecord/test/schema
parent0e92f67073079fe3d34acd141099cdad28b0ee00 (diff)
downloadrails-5ed119c005864b586a259e9d8def5f7aef8a4e54.tar.gz
rails-5ed119c005864b586a259e9d8def5f7aef8a4e54.tar.bz2
rails-5ed119c005864b586a259e9d8def5f7aef8a4e54.zip
Fix dirty handling of nullable non-integer numeric columns [#1692 state:resolved]
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 8199cb8fc7..094932d375 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -252,6 +252,7 @@ ActiveRecord::Schema.define do
t.decimal :world_population, :precision => 10, :scale => 0
t.decimal :my_house_population, :precision => 2, :scale => 0
t.decimal :decimal_number_with_default, :precision => 3, :scale => 2, :default => 2.78
+ t.float :temperature
end
create_table :orders, :force => true do |t|