aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/pooled_connections_test.rb
diff options
context:
space:
mode:
authorGiles Alexander <giles.alexander@gmail.com>2009-05-30 17:44:50 +1000
committerMichael Koziarski <michael@koziarski.com>2009-06-01 13:40:05 +1200
commit532219fd091837a9312a301c74e0fbf06abab3a8 (patch)
tree26867f3e59646342461055519131d234f37b117a /activerecord/test/cases/pooled_connections_test.rb
parentb3839f1c98ab6824091c517f6e2e6e3a024c3e13 (diff)
downloadrails-532219fd091837a9312a301c74e0fbf06abab3a8.tar.gz
rails-532219fd091837a9312a301c74e0fbf06abab3a8.tar.bz2
rails-532219fd091837a9312a301c74e0fbf06abab3a8.zip
Schema dumper now records scale 0 decimal columns as decimal not integer.
The schema dumper would dump out any decimal or numeric column that had a zero scale as an integer column. This will cause problems for very large precision columns on some DBMSs, particularly PostgreSQL. It also looks strange to see your column change type after moving through schema.rb. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2741 state:committed]
Diffstat (limited to 'activerecord/test/cases/pooled_connections_test.rb')
0 files changed, 0 insertions, 0 deletions