diff --git a/rfd-model/migrations/2024-04-12-205749_fix_revision_index/up.sql b/rfd-model/migrations/2024-04-12-205749_fix_revision_index/up.sql index b37f10d..dc10544 100644 --- a/rfd-model/migrations/2024-04-12-205749_fix_revision_index/up.sql +++ b/rfd-model/migrations/2024-04-12-205749_fix_revision_index/up.sql @@ -1 +1,2 @@ --- Your SQL goes here +DROP INDEX rfd_revision_sha_idx; +CREATE UNIQUE INDEX rfd_revision_commit_sha_idx ON rfd_revision (rfd_id, commit_sha);