Both tables are ready. Each deployment needs its own primary key. Several deployments can carry the same foreign key because they belong to one service.
Deployment 100 for worker is already logged. Add two runs of api, with IDs 101 and 102. Check that the two new rows point to the same service and the registry still contains two services.