diff --git a/src/prisma/migrations/20241106171455_daily_claim_event/migration.sql b/src/prisma/migrations/20241106171455_daily_claim_event/migration.sql deleted file mode 100644 index 7699ddb5..00000000 --- a/src/prisma/migrations/20241106171455_daily_claim_event/migration.sql +++ /dev/null @@ -1,2 +0,0 @@ --- AlterEnum -ALTER TYPE "BuilderEventType" ADD VALUE 'daily_claim'; diff --git a/src/prisma/migrations/20241106181659_daily_claim_builder_event/migration.sql b/src/prisma/migrations/20241106181659_daily_claim_builder_event/migration.sql new file mode 100644 index 00000000..21a13530 --- /dev/null +++ b/src/prisma/migrations/20241106181659_daily_claim_builder_event/migration.sql @@ -0,0 +1,5 @@ +-- AlterEnum +ALTER TYPE "BuilderEventType" ADD VALUE 'daily_claim'; + +-- AlterTable +ALTER TABLE "Scout" ALTER COLUMN "telegramId" SET DATA TYPE BIGINT; diff --git a/src/prisma/schema.prisma b/src/prisma/schema.prisma index c6a04cc4..9202504d 100644 --- a/src/prisma/schema.prisma +++ b/src/prisma/schema.prisma @@ -2795,7 +2795,7 @@ model Scout { displayName String farcasterId Int? @unique farcasterName String? // every user only has one farcaster account - telegramId Int? @unique + telegramId BigInt? @unique walletENS String? avatar String? bio String?