Changes between Initial Version and Version 1 of Ticket #2259, comment 40
- Timestamp:
- Dec 15, 2021, 7:43:29 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2259, comment 40
initial v1 1 I c ome up with two ways to change primary key1 I came up with two ways to change primary key 2 2 1. we store old pk in hidden field in the change form and we check for the hidden field's value and the current pk value, if they have changed, we create a new object with the new pk and delete the old one. 3 3 2. there will be a popup which will open a new form where two fields will be old pk and new pk, specifically to change the primary key if needed, the idea is to have an "edit" option besides the pk field in the current form which will then open a popup to change the pk of the given object