Class: ModContext

Instance Method Summary collapse

Methods inherited from ActiveFacts::Metamodel::DataType::DefaultContext

#boolean_type, #default_length, #surrogate_type

Methods inherited from ActiveFacts::Metamodel::DataType::Context

#boolean_type, #choose_integer_range, #default_length, #initialize, #surrogate_type

Constructor Details

This class inherits a constructor from ActiveFacts::Metamodel::DataType::Context

Instance Method Details

#integer_ranges ⇒ Object



281
282
283
284
285
286
287
# File 'lib/activefacts/metamodel/datatypes.rb', line 281

def integer_ranges
  [
    ['BIT', 0, 1, 1], 
    ['TINYINT', -2**7, 2**7-1, 8],
  ] +
  super 
end