This repo reproduces an issue with seed data containing users in supabase.
Steps to reproduce:
- Install supabase 0.17.0 from https://github.com/supabase/cli/releases
- cd to this repo
git checkout 31b53b25dd
(for the version compatible with that supabase cli version)supabase start
- Note that
seed.sql
was created with./create_user.js
and./dump_seed_data.sh
, but you do not need to recreate that here ./load_seed_data.sh
./login.js
should succeed and show the sessionsupabase stop
- Install supabase 1.8.4 from https://github.com/supabase/cli/releases
git checkout main
in this reposupabase start
./load_seed_data.sh
./login.js
fails with "invalid login credentials"
Note that at this point, changing creds.js
to have a new email and running ./create_user.js
and ./login.js
will succeed.
What I expect is happening is that the auth schema has database migrations, but those migrations are not run with data in the tables.