Link public.users and auth.users when seeding.
This allow frontend developers to use user related data not signing up.
replace serial based id with uuid.
The reason why I did this in this PR is that it's not granted that serial id is sequence when inserting user data to public.users after inserting auth.users for sure, so when seeding, I had to handle with duplicate checking if id is already inserted, but it's gonna be temporary and spending on it is worthless anymore.
So I might as well worked on this as well.
Link
public.users
andauth.users
when seeding. This allow frontend developers to use user related data not signing up.replace
serial
based id withuuid
. The reason why I did this in this PR is that it's not granted that serial id is sequence when inserting user data topublic.users
after insertingauth.users
for sure, so when seeding, I had to handle with duplicate checking if id is already inserted, but it's gonna be temporary and spending on it is worthless anymore. So I might as well worked on this as well.