self-service code database