Skip to content

Swap FK projects.pool_repository_id to pool_repositories.id for LFK

Summary

As part of our "sharding key" efforts we need to mark the pool_repositories table as exempt from sharding in !182030 (comment 2356809867), but it has foreign key references to it. The table with foreign key references is: projects. We are going to replace the foreign keys with "loose foreign keys".

Edited by Douglas Barbosa Alexandre