Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 994 Bytes

File metadata and controls

21 lines (17 loc) · 994 Bytes

This repo reproduces an issue with seed data containing users in supabase.

Steps to reproduce:

  1. Install supabase 0.17.0 from https://github.com/supabase/cli/releases
  2. cd to this repo
  3. git checkout 31b53b25dd (for the version compatible with that supabase cli version)
  4. supabase start
  5. Note that seed.sql was created with ./create_user.js and ./dump_seed_data.sh, but you do not need to recreate that here
  6. ./load_seed_data.sh
  7. ./login.js should succeed and show the session
  8. supabase stop
  9. Install supabase 1.8.4 from https://github.com/supabase/cli/releases
  10. git checkout main in this repo
  11. supabase start
  12. ./load_seed_data.sh
  13. ./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.