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_type, #default_length, #surrogate_type

Instance Method Details

#integer_rangesObject



271
272
273
274
275
276
277
# File 'lib/activefacts/metamodel/datatypes.rb', line 271

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