-- Seed default admin user for initial local deployment.
-- Password: admin1234!
-- Hash generated with pwstore-fast (Crypto.PasswordStore.makePassword, strength 17)
-- which is the format IHP's verifyPassword uses. NOT bcrypt.
-- IMPORTANT: Change this password immediately after first login via the profile settings.
-- Workplan: IHUB-WP-0014 (A4 — admin user seeding)
INSERT INTO users (id, email, password_hash, name, failed_login_attempts, created_at)
VALUES (
uuid_generate_v4(),
'admin@inter-hub.local',
'sha256|17|hyVUQpp0hhegCg2oM0lUHQ==|jSwCi+tJUlKCW6sT6nn23/r71fd0GSiVOo48JSrXyWc=',
'Admin',
0,
now()
);