From 10354ed870a0a21c101e265b173605055fa54c33 Mon Sep 17 00:00:00 2001 From: Valentin Date: Wed, 30 Oct 2024 19:50:49 +0200 Subject: [PATCH] Remove scout wallet address (#384) * Remove scout wallet address * ci: version bump to 0.92.2-rc-feat-remove-sco.0 * ci: version bump to 0.92.2-rc-feat-remove-sco.1 --------- Co-authored-by: Automated Version Bump --- package.json | 2 +- .../migration.sql | 11 +++++++++++ src/prisma/schema.prisma | 2 -- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 src/prisma/migrations/20241030154007_remove_scout_wallet_address/migration.sql diff --git a/package.json b/package.json index 47393eca..ca0e0106 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@charmverse/core", - "version": "0.92.1", + "version": "0.92.2-rc-feat-remove-sco.1", "description": "Core API for Charmverse", "type": "commonjs", "types": "./dist/cjs/index.d.ts", diff --git a/src/prisma/migrations/20241030154007_remove_scout_wallet_address/migration.sql b/src/prisma/migrations/20241030154007_remove_scout_wallet_address/migration.sql new file mode 100644 index 00000000..ded7ec6c --- /dev/null +++ b/src/prisma/migrations/20241030154007_remove_scout_wallet_address/migration.sql @@ -0,0 +1,11 @@ +/* + Warnings: + + - You are about to drop the column `walletAddress` on the `Scout` table. All the data in the column will be lost. + +*/ +-- DropIndex +DROP INDEX "Scout_walletAddress_idx"; + +-- AlterTable +ALTER TABLE "Scout" DROP COLUMN "walletAddress"; diff --git a/src/prisma/schema.prisma b/src/prisma/schema.prisma index d76f21ad..dc59ec43 100644 --- a/src/prisma/schema.prisma +++ b/src/prisma/schema.prisma @@ -2795,7 +2795,6 @@ model Scout { displayName String farcasterId Int? @unique farcasterName String? // every user only has one farcaster account - walletAddress String? // grab most recent wallet when someone signs in w/farcaster walletENS String? avatar String? bio String? @@ -2822,7 +2821,6 @@ model Scout { @@index([path]) @@index([farcasterId]) - @@index([walletAddress]) } model BuilderStrike {