Chemical-Curation / chemcurator_django

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

Use the sid as the primary key of the substance table #250

Closed cmgrulke closed 3 years ago

cmgrulke commented 3 years ago

As a researcher I want the substance resource to use the sid 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 substance table to the sid 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: