-- Password por defecto: Admin12345*  (cambiar al primer ingreso)
INSERT INTO usuarios (empresa_id, rol_id, nombre, email, password, activo, created_at)
SELECT NULL, r.id, 'Super Admin', 'admin@veltrix.com', '$2y$10$hrNSwq2KVdGKEqEtFyd7zOzUubYKzh2IEzqrTUSj2nBWhJ.DeofZ.', 1, NOW()
FROM roles r
WHERE r.slug = 'superadmin'
AND NOT EXISTS (SELECT 1 FROM usuarios WHERE email = 'admin@veltrix.com');
