-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SG - New place for wallet addresses #380
Conversation
Code e499503 labeled version 0.91.1-rc-feat-sg-wallet.1 |
Running downstream job at https://github.com/charmverse/permissions.charmverse.io/actions/runs/11560571682 |
Running downstream job at https://github.com/charmverse/app.charmverse.io/actions/runs/11560572329 |
|
||
model ScoutWallet { | ||
id String @id @default(uuid()) @db.Uuid | ||
createdAt DateTime @default(now()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea to store this
src/prisma/schema.prisma
Outdated
@@ -3166,3 +3167,11 @@ model BuilderCardActivity { | |||
|
|||
@@unique([builderId]) | |||
} | |||
|
|||
model ScoutWallet { | |||
id String @id @default(uuid()) @db.Uuid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we don't even need an id?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I think it is not necessary. I removed id and added address as an index since we will search by address on login
Running downstream job at https://github.com/charmverse/app.charmverse.io/actions/runs/11575464344 |
Running downstream job at https://github.com/charmverse/permissions.charmverse.io/actions/runs/11575464612 |
Running downstream job at https://github.com/charmverse/app.charmverse.io/actions/runs/11576807241 |
…rse/core into feat/sg-wallet-addresses
Running downstream job at https://github.com/charmverse/permissions.charmverse.io/actions/runs/11576808089 |
Running downstream job at https://github.com/charmverse/app.charmverse.io/actions/runs/11576850850 |
Running downstream job at https://github.com/charmverse/permissions.charmverse.io/actions/runs/11576851286 |
This will be a 2 step migration.
After this PR is merged a script will move all addresses from walletAddress to ScoutWallet table.
Then we can delete walletAddress column and run the migration.