mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
fe78944c9d
Summary: Move Diffusion to be hovercard-ready, and expand our ability to resolve commit references. - Link unqualified hashes of 7 characters or more which match a commit. - Link qualified hashes of 5 characters or more which match a commit. - Support `{...}` syntax. Test Plan: {F33896} Reviewers: chad, vrana Reviewed By: vrana CC: aran Differential Revision: https://secure.phabricator.com/D5121
5 lines
209 B
SQL
5 lines
209 B
SQL
ALTER TABLE {$NAMESPACE}_repository.repository_commit
|
|
DROP KEY `repositoryID`;
|
|
|
|
ALTER TABLE {$NAMESPACE}_repository.repository_commit
|
|
ADD UNIQUE KEY `key_commit_identity` (commitIdentifier, repositoryID);
|