Kerem Kazan
05/12/2021, 3:56 PMmodel User {
id Int @id @default(autoincrement())
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
ethWallets EthereumWallet[]
telegramUsers TelegramUser[]
}
model TelegramUser {
id Int @id @default(autoincrement())
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
chatId Int
memberId Int
user User @relation(fields: [userId], references: [id])
userId Int
@@unique([chatId, memberId])
}
model EthereumWallet {
address String @id
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
user User @relation(fields: [userId], references: [id])
userId Int
}
Andrew Ross
06/08/2021, 8:06 PMJacob Kelley
06/21/2021, 9:01 PMJacob Kelley
06/21/2021, 9:01 PMDaniil
06/23/2021, 1:25 PMHenry Wu
06/25/2021, 11:58 AMchrisdrackett
07/01/2021, 9:39 PM@updatedAt
they are added with 1970-01-01T00:00:00.000Z
. is this expected behavior? I would expect the current dateTime to be usedJacob Kelley
07/06/2021, 3:46 PM?theme=dark
, etc? I would love to submit a PR for this but Studio isn't OSS I believe.Albin Groen
07/06/2021, 7:34 PMBryan Migliorisi
07/14/2021, 2:57 PMBryan Migliorisi
07/14/2021, 2:59 PMpnpx prisma studio
command, then it works 🤔glekner
07/16/2021, 8:07 PMMarvin Witt
08/25/2021, 9:15 AM2.30.0
on Windows 11. This is the output I get:
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Prisma Studio is up on <http://localhost:5555>
Error: spawn undefined\System32\WindowsPowerShell\v1.0\powershell ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:480:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Any clue why this might be happening? Both the prisma
and the @prisma/client
package are updated to version 2.30.0
so it's not a version mismatch.Jon Deibel
09/17/2021, 4:46 PMJon Deibel
09/17/2021, 4:51 PMJon Deibel
09/17/2021, 4:51 PMPranav Sathyanarayanan
10/28/2021, 4:53 PMRalph Bolliger
11/12/2021, 12:49 PMmodel User {
id String @id @default(cuid())
createdAt DateTime @default(now())
email String @unique
firstname String
lastname String
sentMessages Message[] @relation("Sender")
receivedMessages Message[] @relation("Recipient")
}
model Message {
id String @id @default(cuid())
sender User @relation(name: "Sender", fields: [senderId], references: [id])
senderId String
recipient User @relation(name: "Recipient", fields: [recipientId], references: [id])
recipientId String
subject String
body String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
In Prisma Studio it looks well but the relation recipient/recipientId isn’t established well. I’m able to relate a User
to the sender
field, but not User
to the recipient
field (see screenshot attached).
Am I missing something?Garrett Tolbert
11/30/2021, 4:07 PMTimo
12/22/2021, 7:10 AMstring[]
variables within studio in the filter-selection box?Reid Ashwill
01/12/2022, 6:20 PMMatt Beiswenger
01/28/2022, 4:29 PMschema.prisma
file in order to work (and not generated types), but prisma studio needs to be restarted any time there’s a change to the schema.prisma
file in order to see changes take effect. Is this the correct constraint? Or has anyone tried something similar?Spiros - Product at Prisma
01/31/2022, 1:03 PMnpx prisma studio
)
• The Data Browser in the Prisma Data Platform for your online database instances
The reasons for this move have to do with the low adoption of Electron Studio (as opposed to the CLI version) compared with the maintenance needs.
Let us know if you hove any questions in this issue.
Thank you.Rich Starkie
02/23/2022, 11:33 AMTerminal
tab, and then an extra browser tab too.
If you are absolutely dead set to discontinue the app, can you please make it open source so that the community can continue it.Rich Starkie
02/23/2022, 11:37 AMOmar
05/22/2022, 8:15 AMOliver
07/27/2022, 10:11 AMnpx prisma studio
, it did not work when I set the DATABASE_URL
accordingly.
And if it doesnt work, how would you recommend setting up Prisma studio so it works with remote production DB? Thanks!Ty-Lucas Kelley
08/24/2022, 3:39 PMNurul
09/01/2022, 3:21 PMVladi Stevanovic
09/23/2022, 10:44 AM