-
Notifications
You must be signed in to change notification settings - Fork 14
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
Allen Zhang (张涛)
committed
Jul 13, 2024
1 parent
9d4cbf6
commit f8e2c4f
Showing
4 changed files
with
104 additions
and
71 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
packages/canyon-backend/prisma/migrations/20240713143952_up/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,39 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the `coveragedata` table. If the table is not empty, all the data it contains will be lost. | ||
- You are about to drop the `file_map` table. If the table is not empty, all the data it contains will be lost. | ||
- You are about to drop the `reckoning` table. If the table is not empty, all the data it contains will be lost. | ||
- Added the required column `instrument_cwd` to the `project` table without a default value. This is not possible if the table is not empty. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE "project" ADD COLUMN "instrument_cwd" TEXT NOT NULL; | ||
|
||
-- DropTable | ||
DROP TABLE "coveragedata"; | ||
|
||
-- DropTable | ||
DROP TABLE "file_map"; | ||
|
||
-- DropTable | ||
DROP TABLE "reckoning"; | ||
|
||
-- DropEnum | ||
DROP TYPE "DimType"; | ||
|
||
-- CreateTable | ||
CREATE TABLE "CovMap" ( | ||
"id" TEXT NOT NULL, | ||
"map_json_str_zstd" TEXT NOT NULL, | ||
|
||
CONSTRAINT "CovMap_pkey" PRIMARY KEY ("id") | ||
); | ||
|
||
-- CreateTable | ||
CREATE TABLE "CovHit" ( | ||
"id" TEXT NOT NULL, | ||
"map_json_str" TEXT NOT NULL, | ||
|
||
CONSTRAINT "CovHit_pkey" PRIMARY KEY ("id") | ||
); |
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
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