So, an explanation... We enforce the Uniqueness of the Google Token Sub and of the Email, but if we don't have these fields we were defaulting them to empty string ''. This was a problem, so instead, we now let them be null to avoid the DB complaining. This is honestly a better way to do this anyway tbh.
So, an explanation... We enforce the Uniqueness of the Google Token Sub and of the Email, but if we don't have these fields we were defaulting them to empty string
''
. This was a problem, so instead, we now let them benull
to avoid the DB complaining. This is honestly a better way to do this anyway tbh.