Projet

Général

Profil

0001-switch-data-type-of-references-to-option-tables-to-a.patch

Frédéric Péters, 15 septembre 2019 07:51

Télécharger (994 octets)

Voir les différences:

Subject: [PATCH] switch data type of references to option tables to allow more
 options (#36129)

 wcs_olap/feeder.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
-