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

Update Model IDs to be Consistent #99

Open
Safewaan opened this issue Jun 7, 2023 · 0 comments
Open

Update Model IDs to be Consistent #99

Safewaan opened this issue Jun 7, 2023 · 0 comments
Labels
fix involves fixing old code

Comments

@Safewaan
Copy link
Collaborator

Safewaan commented Jun 7, 2023

Some models use id as the primary key, some use <table_name>_id. This may cause confusion later. Either:

  1. The primary key of any table will always be id
  2. The primary key of a table should be <table_name>_id
@Safewaan Safewaan added the fix involves fixing old code label Jun 7, 2023
@Safewaan Safewaan changed the title FIX: Update Model IDs to be Consistent Update Model IDs to be Consistent Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix involves fixing old code
Projects
None yet
Development

No branches or pull requests

2 participants