Chemical-Curation / chemcurator_django

Backend services for chemical curation
https://api.chemreg.epa.gov
MIT License
1 stars 0 forks source link

Use the cid as the primary key of the compound table #249

Closed cmgrulke closed 3 years ago

cmgrulke commented 3 years ago

As a researcher I want the compound resource to use the cid as its resource id (by making it the primary key in the table) So that crafting a the url to use the api is easier

Acceptance Criteria: Change the primary key for the compound table to the cid Fix all the tests that will be broken by this change Will also need to look at vuejs to see if an update is needed there.

Test:

jtumkur commented 3 years ago

249, 250, 251 CID, SID from the tables. Approved