A service can have both a stable numeric ID and a short code used by operators. Declare the ID as the primary key and use the UNIQUE rule from module 9 for the code.
Create services with id integer as primary key and code text as a required, unique code, in that order. Register api (10) and worker (20).