switch data type of references to option tables to allow more options (#36129)
This commit is contained in:
parent
238002e5bf
commit
4953b05b75
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue