Open
Description
Relates to dwyl/alog#45
Update the insert function so that it...
- creates a CID of the data passed in
- creates an entry_id that is a substring of the CID. See here
- make sure entry_id is unique
- if entry_id is not unique, take an extra character from cid and check db for new entry id.
- repeat steps until entry_id is unique (at time of insertion).
Look into having a clause that checks if this is the first insert or if this is an update (as update will call insert). We do NOT want to create a unique entry_id when inserting an update.
Metadata
Metadata
Assignees
Labels
No labels