switch data type of references to option tables to allow more options (#36129)

This commit is contained in:
Frédéric Péters 2019-09-15 07:49:32 +02:00
parent 238002e5bf
commit 4953b05b75
1 changed files with 1 additions and 1 deletions

View File

@ -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':