Skip to content
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

Standardize ID naming and generation in persistence layer #3668

Closed
nayib-jose-gloria opened this issue Dec 5, 2022 · 0 comments
Closed

Standardize ID naming and generation in persistence layer #3668

nayib-jose-gloria opened this issue Dec 5, 2022 · 0 comments
Assignees

Comments

@nayib-jose-gloria
Copy link
Contributor

nayib-jose-gloria commented Dec 5, 2022

Translate ORM and common entity IDs to use 'id' name for primary keys (i.e. version_id -> id for CollectionVersion).

Generate UUIDs as part of ID objects, rather than as a static method in the DatabaseProvider (as is current)

Refactor ORM tables to use class variables convention

Refactor table names to differentiate from business entities

Fix spots in the persistence layer where transactionality is not being implemented properly

Update migration script accordingly

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

No branches or pull requests

2 participants