The prepared services table has an integer ID and a text alias with a plain UNIQUE constraint. In PostgreSQL, several rows may have NULL in that column. Each assigned alias must be unique.
Insert IDs 1 and 2 with missing aliases, and ID 3 with the alias gateway. Check that the first two rows each show NULL.