Codington
0 of 8 problems solved • 0%

Exercise prompt

Use an ID and a Unique Code

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.

Your task

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).

Opening the database…