Skip to content

Commit

Permalink
Scout telegram user (#387)
Browse files Browse the repository at this point in the history
* Scout telegram user

* ci: version bump to 0.93.2-rc-feat-sg-telegra.0

* Minimal info for telegram

* ci: version bump to 0.93.2-rc-feat-sg-telegra.1

---------

Co-authored-by: Automated Version Bump <[email protected]>
  • Loading branch information
valentinludu and Automated Version Bump authored Nov 6, 2024
1 parent 9106321 commit 92accc8
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.1",
"version": "0.93.2-rc-feat-sg-telegra.1",
"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 All @@ -2821,6 +2822,7 @@ model Scout {
@@index([path])
@@index([farcasterId])
@@index([telegramId])
}

model BuilderStrike {
Expand Down

0 comments on commit 92accc8

Please sign in to comment.