Closed pagreene closed 3 years ago
There are some notable optimizations that could be made, but which are out-of-scope for this particular PR. Specifically:
It has also been a long time since a deep review of how we resolve conflicting refs, and that entire process could use a deep dive, which was also well outside the scope of this PR.
This PR significantly refactors how content updates are performed, removing multiprocessing and focusing on implementing a more usable API. The PR also continues the trend of putting more database logical work into SQL that is executed on the remote server. Specifically, the process of getting the new primary key IDs from the ref table after new refs are added.
This PR also adds the
pub_year
column to text refs, andlicense
column to the text content.