Ensure that the user should be able to change the start value of the existing sequence. Fixes #5855

This commit is contained in:
Pradip Parkale
2020-10-05 16:38:16 +05:30
committed by Akshay Joshi
parent bcb2f833cd
commit e4029cca04
2 changed files with 2 additions and 4 deletions

View File

@@ -143,10 +143,7 @@ define('pgadmin.node.sequence', [
mode: ['properties', 'create', 'edit'], group: gettext('Definition'),
},{
id: 'start', label: gettext('Start'), type: 'int',
mode: ['properties', 'create'], group: gettext('Definition'),
readonly: function(m) {
return !m.isNew();
},
mode: ['properties', 'create', 'edit'], group: gettext('Definition'),
},{
id: 'minimum', label: gettext('Minimum'), type: 'int',
mode: ['properties', 'create', 'edit'], group: gettext('Definition'),