revert: "chore(db): fix the migrations so they can be applied"This reverts commit 2ed989a41fdffd89210b78709c5e2b6ca45e731e.
Reverting because it contains changes to the schema without the related
migrations files being commit'ed with it.
@@ -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
- CLOSED_MERGE
- CLOSED_DENY
+ CLOSE_COMPLETE
+ CLOSE_DENY
}
enum ResourceVisibility {