Fixed an issue where SQL is not getting generated for Foreign table options. Fixes #6813

This commit is contained in:
Nikhil Mohite 2021-09-28 10:21:25 +05:30 committed by Akshay Joshi
parent f6a9af0aa4
commit 48a5143485

View File

@ -195,11 +195,11 @@ export default class ForeignTableSchema extends BaseUISchema {
type: 'text', group: gettext('Definition'), mode: ['properties'],
},
{
id: 'fdwoptions', label: gettext('Options'), type: 'collection',
schema: new OptionsSchema('fdwoption', 'fdwvalue'),
id: 'ftoptions', label: gettext('Options'), type: 'collection',
schema: new OptionsSchema('option', 'value'),
group: gettext('Options'),
mode: ['edit', 'create'],
canAdd: true, canDelete: true, uniqueCol : ['fdwoption'],
canAdd: true, canDelete: true, uniqueCol : ['option'],
},
{
id: 'relacl', label: gettext('Privileges'), cell: 'text',