diff --git a/supabase/config.toml b/supabase/config.toml index 06ce3ab..52e86f7 100644 --- a/supabase/config.toml +++ b/supabase/config.toml @@ -29,8 +29,6 @@ enabled = false port = 54322 # Port used by db diff command to initialize the shadow database. shadow_port = 54320 -# Maximum amount of time to wait for health check when starting the local database. -health_timeout = "2m" # The database major version to use. This has to be the same as your remote database's. Run `SHOW # server_version;` on the remote database to check. major_version = 17 diff --git a/supabase/seed.sql b/supabase/seed.sql index 201b11a..4c4d843 100644 --- a/supabase/seed.sql +++ b/supabase/seed.sql @@ -2,7 +2,7 @@ -- This file runs automatically when a branch DB is created via Supabase Branching. -- ============================================================================ --- Test auth user: test@example.com / testpassword123 +-- Test auth user: test@example.com / test00 -- ============================================================================ INSERT INTO auth.users ( @@ -13,11 +13,14 @@ INSERT INTO auth.users ( email, encrypted_password, email_confirmed_at, + last_sign_in_at, raw_app_meta_data, raw_user_meta_data, created_at, updated_at, confirmation_token, + email_change, + email_change_token_new, recovery_token ) VALUES ( 'a1b2c3d4-e5f6-7890-abcd-ef1234567890', @@ -25,13 +28,16 @@ INSERT INTO auth.users ( 'authenticated', 'authenticated', 'test@example.com', - crypt('testpassword123', gen_salt('bf')), + extensions.crypt('test00', extensions.gen_salt('bf')), + now(), now(), '{"provider": "email", "providers": ["email"]}', '{}', now(), now(), '', + '', + '', '' ); @@ -47,7 +53,7 @@ INSERT INTO auth.identities ( ) VALUES ( 'a1b2c3d4-e5f6-7890-abcd-ef1234567890', 'a1b2c3d4-e5f6-7890-abcd-ef1234567890', - jsonb_build_object('sub', 'a1b2c3d4-e5f6-7890-abcd-ef1234567890', 'email', 'test@example.com'), + '{"sub": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "email": "test@example.com"}', 'email', 'a1b2c3d4-e5f6-7890-abcd-ef1234567890', now(),