Skip to content

Keep usage of aid and cid straight #900

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2021
Merged

Conversation

rylev
Copy link
Member

@rylev rylev commented Jul 9, 2021

The code base uses cid or collection_id for two different things. This PR makes a clear distinction between artifact_id (sometimes aid) which are ids for artifacts and collection_id (sometimes cid) which are ids for collections. Additionally, this PR attempts to differentiate between artifact_id which are string representations of artifacts and artifact_row_id which is the database row number for a specific artifact record.

This PR does nothing but rename variables and fields.

@rylev rylev requested a review from Mark-Simulacrum July 9, 2021 15:43
@rylev rylev merged commit feee9ec into rust-lang:master Jul 9, 2021
@rylev rylev deleted the artifact_id branch July 9, 2021 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants