diff options
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/numeric_data.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/models/numeric_data.rb b/activerecord/test/models/numeric_data.rb index 9d2fe9781d..c6e025a9ce 100644 --- a/activerecord/test/models/numeric_data.rb +++ b/activerecord/test/models/numeric_data.rb @@ -1,3 +1,8 @@ class NumericData < ActiveRecord::Base self.table_name = "numeric_data" + # Decimal columns with 0 scale being automatically treated as integers + # is deprecated, and will be removed in a future version of Rails. + attribute :world_population, :big_integer + attribute :my_house_population, :big_integer + attribute :atoms_in_universe, :big_integer end |