Update database schema to use the userid field instead of username #176
Labels
code enhancement
Improvements to the code without noticeably changing user experience
Milestone
Using a username field as the foreign key to link the tables together is not good practice. It is better to use the unique increasing integer that already exists as the primary key in the Users table. This won't change anything for the end user, except we must evaluate the user endpoints to see if they should use the username or userid as the route parameter.
The text was updated successfully, but these errors were encountered: