Code review comment for ~pappacena/launchpad:db-patch-ociproject-project-pillar

Revision history for this message
William Grant (wgrant) wrote :

Vanilla ADD CONSTRAINT on a table with non-trivial data isn't generally permitted, as it's too slow. It should be preferred to create the constraint with NOT VALID and then VALIDATE it in a hot patch later.

GitRepository may be small enough that we can get away with it here, but we should confirm on staging.

« Back to merge proposal