tabl eoptions for mysql - comment, engine

This commit is contained in:
Jan Prochazka
2024-09-11 13:41:04 +02:00
parent 4f429c27c0
commit b0165c14e9
5 changed files with 81 additions and 3 deletions

View File

@@ -177,4 +177,8 @@ export const driverBase = {
createSaveChangeSetScript(changeSet, dbinfo, defaultCreator) {
return defaultCreator(changeSet, dbinfo);
},
getTableFormOptions() {
return null;
},
};

View File

@@ -164,7 +164,10 @@
<ObjectFieldsEditor
title="Table properties"
fieldDefinitions={tableFormOptions}
values={tableInfo}
values={_.pick(
tableInfo,
tableFormOptions.map(x => x.name)
)}
onChangeValues={vals => {
if (!_.isEmpty(vals)) {
setTableInfo(tbl => ({ ...tbl, ...vals }));