-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from checkly/release_model
storing releases inside the db
- Loading branch information
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
prisma/migrations/20241213104042_create_release_model/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,16 @@ | ||
-- CreateTable | ||
CREATE TABLE "Release" ( | ||
"id" TEXT NOT NULL, | ||
"name" TEXT NOT NULL, | ||
"org" TEXT NOT NULL, | ||
"repo" TEXT NOT NULL, | ||
"repoUrl" TEXT NOT NULL, | ||
"tag" TEXT NOT NULL, | ||
"releaseUrl" TEXT NOT NULL, | ||
"diffUrl" TEXT NOT NULL, | ||
"publishedAt" TIMESTAMP(3) NOT NULL, | ||
"authors" TEXT[], | ||
"summary" TEXT NOT NULL, | ||
|
||
CONSTRAINT "Release_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