Skip to content

Commit

Permalink
drop scout.username (#382)
Browse files Browse the repository at this point in the history
* drop scout.username

* ci: version bump to 0.91.1-rc-drop-username.0

* ci: version bump to 0.92.1-rc-drop-username.0

---------

Co-authored-by: Automated Version Bump <[email protected]>
Co-authored-by: Safwan Shaheer <[email protected]>
  • Loading branch information
3 people authored Oct 30, 2024
1 parent 13dabd5 commit a3389b8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
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.92.0",
"version": "0.92.1-rc-drop-username.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,10 @@
/*
Warnings:
- You are about to drop the column `username` on the `Scout` table. All the data in the column will be lost.
- Made the column `path` on table `Scout` required. This step will fail if there are existing NULL values in that column.
*/
-- AlterTable
ALTER TABLE "Scout" DROP COLUMN "username",
ALTER COLUMN "path" SET NOT NULL;
3 changes: 1 addition & 2 deletions src/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -2791,8 +2791,7 @@ model Scout {
createdAt DateTime @default(now())
id String @id @default(uuid()) @db.Uuid
email String?
username String?
path String? @unique
path String @unique
displayName String
farcasterId Int? @unique
farcasterName String? // every user only has one farcaster account
Expand Down

0 comments on commit a3389b8

Please sign in to comment.