From 4953b05b759a0d5e8f26f34697987323d6dd65dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 15 Sep 2019 07:49:32 +0200 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(-) diff --git a/wcs_olap/feeder.py b/wcs_olap/feeder.py index fd0e83b..28cac9a 100644 --- a/wcs_olap/feeder.py +++ b/wcs_olap/feeder.py @@ -631,7 +631,7 @@ class WcsFormdefFeeder(object): else: # open item field, from data sources... self.create_labeled_table_serial(table_name, comment=comment) - field_def = 'smallint REFERENCES "%s" (id)' % table_name + field_def = 'integer REFERENCES "%s" (id)' % table_name elif field.type == 'bool': field_def = 'boolean' elif field.type == 'string':