xtablo-source/supabase/migrations_backup/05_add_users.sql
2025-11-06 08:37:52 +01:00

7 lines
1.3 KiB
SQL

-- Insert sample users into auth.users table
INSERT INTO auth.users (id, email, encrypted_password, email_confirmed_at, created_at, updated_at, raw_user_meta_data) VALUES
('00000000-0000-0000-0000-000000000001', 'alice.johnson@example.com', crypt('password123', gen_salt('bf')), NOW(), NOW(), NOW(), '{"name": "Alice Johnson", "avatar_url": "https://images.unsplash.com/photo-1494790108755-2616b612b786?w=150"}'),
('00000000-0000-0000-0000-000000000002', 'bob.smith@example.com', crypt('password123', gen_salt('bf')), NOW(), NOW(), NOW(), '{"name": "Bob Smith", "avatar_url": "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=150"}'),
('00000000-0000-0000-0000-000000000003', 'carol.davis@example.com', crypt('password123', gen_salt('bf')), NOW(), NOW(), NOW(), '{"name": "Carol Davis", "avatar_url": "https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=150"}'),
('00000000-0000-0000-0000-000000000004', 'david.wilson@example.com', crypt('password123', gen_salt('bf')), NOW(), NOW(), NOW(), '{"name": "David Wilson", "avatar_url": "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=150"}'),
('00000000-0000-0000-0000-000000000005', 'emma.brown@example.com', crypt('password123', gen_salt('bf')), NOW(), NOW(), NOW(), '{"name": "Emma Brown", "avatar_url": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=150"}');