-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
997fefc
commit 29956aa
Showing
2 changed files
with
21 additions
and
18 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
backend/prisma/migrations/20241211122626_remove_tags/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the `ProblemTag` table. If the table is not empty, all the data it contains will be lost. | ||
- You are about to drop the `Tag` table. If the table is not empty, all the data it contains will be lost. | ||
*/ | ||
-- DropForeignKey | ||
ALTER TABLE "ProblemStatement" DROP CONSTRAINT "ProblemStatement_tagId_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "ProblemTag" DROP CONSTRAINT "ProblemTag_problemId_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "ProblemTag" DROP CONSTRAINT "ProblemTag_tagId_fkey"; | ||
|
||
-- DropTable | ||
DROP TABLE "ProblemTag"; | ||
|
||
-- DropTable | ||
DROP TABLE "Tag"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters