lib/gooddata/models/model.rb in gooddata-0.6.32 vs lib/gooddata/models/model.rb in gooddata-0.6.33
- old
+ new
@@ -84,10 +84,10 @@
'GDC.time.day_iso', # dd-MM-yyyy
'GDC.time.day_us_long', # EEE, MMM d, yyyy
'GDC.time.day_us_noleading', # M/d/yy
]
- GD_DATA_TYPES = ['BIGINT', 'DOUBLE', 'INTEGER', 'INT', /^VARCHAR\(\d{1,3}\)$/i, /^DECIMAL\(\d{1,3},\s*\d{1,3}\)$/i]
+ GD_DATA_TYPES = ['BIGINT', 'DOUBLE', 'INTEGER', 'INT', /^VARCHAR\(\d{1,4}\)$/i, /^DECIMAL\(\d{1,3},\s*\d{1,3}\)$/i]
DEFAULT_FACT_DATATYPE = 'DECIMAL(12,2)'
DEFAULT_ATTRIBUTE_DATATYPE = 'VARCHAR(128)'
DEFAULT_TYPE = 'GDC.text'