Skip to content

Commit

Permalink
Add builderNFT type
Browse files Browse the repository at this point in the history
  • Loading branch information
motechFR committed Dec 2, 2024
1 parent cd9c435 commit f16def2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- CreateEnum
CREATE TYPE "BuilderNftType" AS ENUM ('season_1_starter_pack');

-- AlterTable
ALTER TABLE "BuilderNft" ADD COLUMN "nftType" "BuilderNftType";
5 changes: 5 additions & 0 deletions src/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -3080,13 +3080,18 @@ model UserAllTimeStats {
@@index([userId])
}

enum BuilderNftType {
season_1_starter_pack
}

model BuilderNft {
id String @id @default(uuid()) @db.Uuid
createdAt DateTime @default(now())
builderId String @db.Uuid
builder Scout @relation(fields: [builderId], references: [id], onDelete: Cascade)
chainId Int
season String
nftType BuilderNftType?
currentPrice BigInt
contractAddress String
tokenId Int
Expand Down

0 comments on commit f16def2

Please sign in to comment.