code-review icon indicating copy to clipboard operation
code-review copied to clipboard

Use repository slug as Primary key instead of phabricator ID

Open La0 opened this issue 2 years ago • 1 comments

Followup of #1523

This is the same approach to generalize the backend without requiring Phabricator IDs.

We already have a uniqe slug on the Repository model, both phabricator IDs should be made nullable. All relations must be updated before-hand in a data migration.

All the endpoints must also be updated, and finally the bot too (as it references repositories during revision creation).

La0 avatar Mar 16 '23 14:03 La0

@EvaBardou can start working on this.

La0 avatar Mar 29 '23 08:03 La0