Rustelo/seeds/001_sample_users.sql

9 lines
634 B
MySQL
Raw Normal View History

-- Sample users for development
-- This file works for both PostgreSQL and SQLite
INSERT INTO users (username, email, password_hash, is_active, is_verified) VALUES
('admin', 'admin@example.com', '$argon2id$v=19$m=65536,t=3,p=4$Ym9vZm9v$2RmTUplMXB3YUNGeFczL1NyTlJFWERsZVdrbUVuNHhDNlk5K1ZZWVorUT0', true, true),
('user', 'user@example.com', '$argon2id$v=19$m=65536,t=3,p=4$Ym9vZm9v$2RmTUplMXB3YUNGeFczL1NyTlJFWERsZVdrbUVuNHhDNlk5K1ZZWVorUT0', true, true),
('editor', 'editor@example.com', '$argon2id$v=19$m=65536,t=3,p=4$Ym9vZm9v$2RmTUplMXB3YUNGeFczL1NyTlJFWERsZVdrbUVuNHhDNlk5K1ZZWVorUT0', true, true)
ON CONFLICT (email) DO NOTHING;