aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/numeric_data.rb
blob: 666e1a5778b8ebe918810fce2502b2d30a8be258 (plain) (tree)
1
2
3
4
5
6
7
8
9

                             

                                      




                                                                        
   
# frozen_string_literal: true

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