Ensure id uniqueness for p_ci_stages
Before writing to multiple partitions on p_ci_stages
we must ensure at the database level that users/developers can't generate duplicate ids. This was done on p_ci_builds
using a trigger to always assign the id from the database sequence, even if it was provided by the application.
-
Similar to !142526 (merged)
Edited by Max Orefice