0 ? addKeyConstraint : null} hideDisplayName={driver?.dialect?.anonymousPrimaryKey} clickable on:clickrow={e => showModal(PrimaryKeyEditorModal, { constraintInfo: e.detail, tableInfo, setTableInfo, constraintLabel, constraintType, driver, })} columns={[ { fieldName: 'columns', header: 'Columns', slot: 0, sortable: true, }, isWritable ? { fieldName: 'actions', slot: 1, } : null, ]} > {row?.columns.map(x => x.columnName).join(', ')} { e.stopPropagation(); setTableInfo(tbl => editorDeleteConstraint(tbl, row)); }}>Remove