This PR fixes an issue that is arising when our (now randomly-generated) usernames start with at least one digit. Since we're using parseInt to parse the identifier, these usernames will return an integer and thus be interpreted as IDs. This PR switches things to what I should've done originally, which is to use Number instead.
Additionally, this updates the size of the username in the student table SQL schema, which we updated to account for these randomly-generated names.
This PR fixes an issue that is arising when our (now randomly-generated) usernames start with at least one digit. Since we're using
parseInt
to parse the identifier, these usernames will return an integer and thus be interpreted as IDs. This PR switches things to what I should've done originally, which is to useNumber
instead.Additionally, this updates the size of the username in the student table SQL schema, which we updated to account for these randomly-generated names.