Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions supabase/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 9 additions & 3 deletions supabase/seed.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand All @@ -13,25 +13,31 @@ 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',
'00000000-0000-0000-0000-000000000000',
'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(),
'',
'',
'',
''
);

Expand All @@ -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(),
Expand Down