mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
Console/fix update column comment
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3201 GitOrigin-RevId: 7a04cf2b94cccebe31041df76b2260dfae2b66bc
This commit is contained in:
parent
aabc5189be
commit
19c7002a7b
@ -145,7 +145,7 @@ const ColumnEditorList = ({
|
||||
const keyPropertiesString = propertiesList.join(', ');
|
||||
|
||||
propertiesDisplay.push(
|
||||
<span className="ml-xs font-normal" key={'props'}>
|
||||
<span className="ml-xs mr-2 font-normal" key={'props'}>
|
||||
{keyPropertiesString}
|
||||
</span>
|
||||
);
|
||||
|
@ -670,7 +670,7 @@ export const getSetCommentSql = (
|
||||
columnName?: string,
|
||||
functionName?: string
|
||||
) => {
|
||||
if (functionName) {
|
||||
if (functionName && !columnName) {
|
||||
return `
|
||||
comment on ${on} "${schemaName}"."${functionName}" is ${
|
||||
comment ? sqlEscapeText(comment) : 'NULL'
|
||||
|
Loading…
Reference in New Issue
Block a user