-- Seed default admin user for initial local deployment.
-- Password: admin1234!
-- Hash generated with bcrypt cost 10 (compatible with IHP's authenticate @User).
-- 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',
    '$2b$10$c3imjL8nLkR1TSbBifvR3eFzlCUurGPXsN7K5trDjmZL6Af3zLqH.',
    'Admin',
    0,
    now()
);
