0001-switch-data-type-of-references-to-option-tables-to-a.patch
wcs_olap/feeder.py | ||
---|---|---|
631 | 631 |
else: |
632 | 632 |
# open item field, from data sources... |
633 | 633 |
self.create_labeled_table_serial(table_name, comment=comment) |
634 |
field_def = 'smallint REFERENCES "%s" (id)' % table_name
|
|
634 |
field_def = 'integer REFERENCES "%s" (id)' % table_name
|
|
635 | 635 |
elif field.type == 'bool': |
636 | 636 |
field_def = 'boolean' |
637 | 637 |
elif field.type == 'string': |
638 |
- |