Skip to content

Commit

Permalink
Merge branch 'main' of github.com:charmverse/core into weekly-claims
Browse files Browse the repository at this point in the history
  • Loading branch information
motechFR committed Nov 7, 2024
2 parents 2e017e2 + b6af8c9 commit 9ecb5dc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@charmverse/core",
"version": "0.93.2-rc-weekly-claims.0",
"version": "0.94.0",
"description": "Core API for Charmverse",
"type": "commonjs",
"types": "./dist/cjs/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
Warnings:
- A unique constraint covering the columns `[telegramId]` on the table `Scout` will be added. If there are existing duplicate values, this will fail.
*/
-- AlterTable
ALTER TABLE "Scout" ADD COLUMN "telegramId" INTEGER;

-- CreateIndex
CREATE UNIQUE INDEX "Scout_telegramId_key" ON "Scout"("telegramId");

-- CreateIndex
CREATE INDEX "Scout_telegramId_idx" ON "Scout"("telegramId");
2 changes: 2 additions & 0 deletions src/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -2795,6 +2795,7 @@ model Scout {
displayName String
farcasterId Int? @unique
farcasterName String? // every user only has one farcaster account
telegramId Int? @unique
walletENS String?
avatar String?
bio String?
Expand Down Expand Up @@ -2823,6 +2824,7 @@ model Scout {
@@index([path])
@@index([farcasterId])
@@index([telegramId])
}

model BuilderStrike {
Expand Down

0 comments on commit 9ecb5dc

Please sign in to comment.