Class: ModContext

Instance Method Summary collapse

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

#boolean_type, #default_length, #surrogate_type, #valid_from_type

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

#boolean_type, #choose_integer_type, #default_length, #surrogate_type, #valid_from_type

Instance Method Details

#integer_rangesObject



276
277
278
279
280
281
282
# File 'lib/activefacts/metamodel/datatypes.rb', line 276

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