Added comment column in the properties panel for View and Materialized View collection node. Fixes #6416

This commit is contained in:
Akshay Joshi 2021-04-28 18:44:28 +05:30
parent 9dd1bae3c7
commit e718be72e3
3 changed files with 3 additions and 2 deletions

View File

@ -23,3 +23,4 @@ Bug fixes
| `Issue #6377 <https://redmine.postgresql.org/issues/6377>`_ - Fixed an issue where schema diff does not create DROP DEFAULT statement for columns. | `Issue #6377 <https://redmine.postgresql.org/issues/6377>`_ - Fixed an issue where schema diff does not create DROP DEFAULT statement for columns.
| `Issue #6385 <https://redmine.postgresql.org/issues/6385>`_ - Ensure that Backup and Restore should work on shared servers. | `Issue #6385 <https://redmine.postgresql.org/issues/6385>`_ - Ensure that Backup and Restore should work on shared servers.
| `Issue #6408 <https://redmine.postgresql.org/issues/6408>`_ - Fixed ModuleNotFoundError when running setup.py from outside of the root. | `Issue #6408 <https://redmine.postgresql.org/issues/6408>`_ - Fixed ModuleNotFoundError when running setup.py from outside of the root.
| `Issue #6416 <https://redmine.postgresql.org/issues/6416>`_ - Added comment column in the properties panel for View and Materialized View collection node.

View File

@ -30,7 +30,7 @@ define('pgadmin.node.mview', [
node: 'mview', node: 'mview',
label: gettext('Materialized Views'), label: gettext('Materialized Views'),
type: 'coll-mview', type: 'coll-mview',
columns: ['name', 'owner'], columns: ['name', 'owner', 'comment'],
canDrop: schemaChildTreeNode.isTreeItemOfChildOfSchema, canDrop: schemaChildTreeNode.isTreeItemOfChildOfSchema,
canDropCascade: schemaChildTreeNode.isTreeItemOfChildOfSchema, canDropCascade: schemaChildTreeNode.isTreeItemOfChildOfSchema,
}); });

View File

@ -30,7 +30,7 @@ define('pgadmin.node.view', [
node: 'view', node: 'view',
label: gettext('Views'), label: gettext('Views'),
type: 'coll-view', type: 'coll-view',
columns: ['name', 'owner'], columns: ['name', 'owner', 'comment'],
canDrop: schemaChildTreeNode.isTreeItemOfChildOfSchema, canDrop: schemaChildTreeNode.isTreeItemOfChildOfSchema,
canDropCascade: schemaChildTreeNode.isTreeItemOfChildOfSchema, canDropCascade: schemaChildTreeNode.isTreeItemOfChildOfSchema,
}); });