Skip to content

Migrate old duplicate deploy-key to relation.

Created by: babatakao

In the older version, duplicate deploy keys between projects were allowed. Since 5.2, it is implemented by deploy_keys_projects relationship. But the above difference was not automatically migrated.

This rake task find the duplicate deploy keys, and remove excluding first one, then creates a relationship.

Merge request reports