Skip to content

Commit

Permalink
ensure migrate artifacts is idempotent (#1195)
Browse files Browse the repository at this point in the history
  • Loading branch information
theganyo authored Jun 15, 2023
1 parent 391037f commit 33b2bb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/registry/internal/storage/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ func (c *Client) migrateArtifactsToRevisions(ctx context.Context) (err error) {
AND artifacts.api_id = specs.api_id
AND artifacts.version_id = specs.version_id
AND artifacts.spec_id = specs.spec_id
AND artifacts.revision_id is null
`).Error
}

Expand Down

0 comments on commit 33b2bb5

Please sign in to comment.