- Issue created by @deaddruid
- 🇺🇸United States nathaniel
Unfortunately the id column can have duplicate values. It looks like a new column needs to be added for the primary key or it needs to use all three columns. Maybe add serial field 'pau_id' or:
'primary key' => ['id', 'uid', 'collaborate'],
- Assigned to abhishek_virasat
- Issue was unassigned.
- 🇮🇳India abhishek_virasat
@deaddruid, I have fixed the issue "photos_access_user missing primary key", kindly review patch
- last update
over 1 year ago 8 pass - last update
over 1 year ago 8 pass - Status changed to Needs review
over 1 year ago 12:47pm 22 September 2023 - Assigned to nathaniel
- Status changed to Needs work
about 1 year ago 6:02pm 25 September 2023 - 🇺🇸United States nathaniel
Thanks for reporting this issue and working on it.
Note that this approach will cause an EntityStorageException if more than one user is added as a designated user or collaborator. It looks like a test for that needs to be added.
The 'id' field needs to remain as is for now and a new field needs to be added for unique id / primary key.
- 1ef95b85 committed on 6.0.x
Issue #3387424 by Nathaniel: Update default configs and tests.
- 1ef95b85 committed on 6.0.x
- 01f68218 committed on 6.0.x
Issue #3387424 by deaddruid, Nathaniel: Add primary key to...
- 01f68218 committed on 6.0.x
- Issue was unassigned.
- Status changed to Fixed
about 1 year ago 6:51pm 25 September 2023 Automatically closed - issue fixed for 2 weeks with no activity.