chore(db): fix the migrations so they can be applied
+ 3
- 3
db/migrations/20220929155607_rework_uniqueness_in_relations/migration.sql
@@ -7,7 +7,7 @@
 
 */
 -- DropIndex
-DROP INDEX "Repository_slug_key";
+--DROP INDEX "Repository_slug_key";
 
 -- CreateIndex
 CREATE UNIQUE INDEX "PullRequest_uid_targetRepositoryId_key" ON "PullRequest"("uid", "targetRepositoryId");

@@ -166,8 +166,8 @@ enum OrganizationRole {
 
 enum PullRequestState {
   OPEN
-  CLOSE_COMPLETE
-  CLOSE_DENY
+  CLOSED_MERGE
+  CLOSED_DENY
 }
 
 enum ResourceVisibility {