-
Notifications
You must be signed in to change notification settings - Fork 8
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
f9c5b17
commit 24bdf98
Showing
2 changed files
with
71 additions
and
25 deletions.
There are no files selected for viewing
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,71 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the column `team` on the `Project` table. All the data in the column will be lost. | ||
- You are about to drop the `Team` table. If the table is not empty, all the data it contains will be lost. | ||
- You are about to drop the `_teamChildren` table. If the table is not empty, all the data it contains will be lost. | ||
- You are about to drop the `_teamParticipants` table. If the table is not empty, all the data it contains will be lost. | ||
- You are about to drop the `_teamProjects` table. If the table is not empty, all the data it contains will be lost. | ||
- You are about to drop the `_teamStargizers` table. If the table is not empty, all the data it contains will be lost. | ||
- You are about to drop the `_teamWatchers` table. If the table is not empty, all the data it contains will be lost. | ||
*/ | ||
-- DropForeignKey | ||
ALTER TABLE "Goal" DROP CONSTRAINT "Goal_teamId_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "Team" DROP CONSTRAINT "Team_activityId_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "Team" DROP CONSTRAINT "Team_flowId_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "_teamChildren" DROP CONSTRAINT "_teamChildren_A_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "_teamChildren" DROP CONSTRAINT "_teamChildren_B_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "_teamParticipants" DROP CONSTRAINT "_teamParticipants_A_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "_teamParticipants" DROP CONSTRAINT "_teamParticipants_B_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "_teamProjects" DROP CONSTRAINT "_teamProjects_A_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "_teamProjects" DROP CONSTRAINT "_teamProjects_B_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "_teamStargizers" DROP CONSTRAINT "_teamStargizers_A_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "_teamStargizers" DROP CONSTRAINT "_teamStargizers_B_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "_teamWatchers" DROP CONSTRAINT "_teamWatchers_A_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "_teamWatchers" DROP CONSTRAINT "_teamWatchers_B_fkey"; | ||
|
||
-- AlterTable | ||
ALTER TABLE "Project" DROP COLUMN "team"; | ||
|
||
-- DropTable | ||
DROP TABLE "Team"; | ||
|
||
-- DropTable | ||
DROP TABLE "_teamChildren"; | ||
|
||
-- DropTable | ||
DROP TABLE "_teamParticipants"; | ||
|
||
-- DropTable | ||
DROP TABLE "_teamProjects"; | ||
|
||
-- DropTable | ||
DROP TABLE "_teamStargizers"; | ||
|
||
-- DropTable | ||
DROP TABLE "_teamWatchers"; |
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