-
Notifications
You must be signed in to change notification settings - Fork 10
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
Showing
3 changed files
with
30 additions
and
2 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
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
23 changes: 23 additions & 0 deletions
23
prisma/migrations/20241121152607_integrate_hook_to_pool/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,23 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the column `hookId` on the `PrismaPool` table. All the data in the column will be lost. | ||
- You are about to drop the `PrismaHook` table. If the table is not empty, all the data it contains will be lost. | ||
- You are about to drop the `PrismaHookReviewData` table. If the table is not empty, all the data it contains will be lost. | ||
*/ | ||
-- DropForeignKey | ||
ALTER TABLE "PrismaHookReviewData" DROP CONSTRAINT "PrismaHookReviewData_chain_hookAddress_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "PrismaPool" DROP CONSTRAINT "PrismaPool_hookId_fkey"; | ||
|
||
-- AlterTable | ||
ALTER TABLE "PrismaPool" DROP COLUMN "hookId", | ||
ADD COLUMN "hook" JSONB; | ||
|
||
-- DropTable | ||
DROP TABLE "PrismaHook"; | ||
|
||
-- DropTable | ||
DROP TABLE "PrismaHookReviewData"; |