mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix dirty handling of nullable non-integer numeric columns [#1692 state:resolved]
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
This commit is contained in:
committed by
Pratik Naik
parent
0e92f67073
commit
5ed119c005
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user