https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# orm-help
  • r

    Ron Mizrahi

    02/22/2021, 7:00 AM
    Just curious if it's in production grade
    u
    • 2
    • 1
  • h

    Hong

    02/22/2021, 7:20 AM
    Can a master help me answer the question? Thank you https://github.com/prisma/prisma-examples/issues/2417
    n
    • 2
    • 12
  • d

    Daniell

    02/22/2021, 10:45 AM
    @Ron Mizrahi It is, in fact it's one of the few ORM's that's not like "I am your database now", you can use it with an existing db or fine tune sql files with a code-first approach
    ❤️ 4
  • a

    Austin Zentz

    02/22/2021, 2:32 PM
    To chime in with Ron, I really like Prisma but I'm having trouble wrapping my head around the fact that I won't have classes representing the database in my own /src codebase. Because that's what I'm used to in an ORM. I'm planning for like 99,500 fewer concurrent users, but struggling with the paradigm switch
    threads 2
  • a

    Austin Zentz

    02/22/2021, 2:33 PM
    If I'm a dev and I want to go learn more about the database model, I guess I just go look at the prisma schema, right? Whereas in other ORMs I'd look at the model/models I'm interested in
  • a

    Austin Zentz

    02/22/2021, 2:33 PM
    (I'm comparing specifically to something like TypeORM or MikroORM, as examples of the paradigm I'm more used to.)
    r
    d
    j
    • 4
    • 6
  • r

    Ron Mizrahi

    02/22/2021, 4:57 PM
    Hey do you know how to make prisma work for different postgres schema?
  • r

    Ron Mizrahi

    02/22/2021, 4:57 PM
    Instead of the default 'public'
    y
    • 2
    • 1
  • g

    gustav

    02/22/2021, 5:43 PM
    I saw a video tutorial on how to handle db connection limits in a serverless environment, made by someone at Prisma I think, does anyone know the video tutorial I am thinking about? 🙏
    • 1
    • 1
  • l

    leo

    02/22/2021, 5:49 PM
    Hey all, i’ve successfully setup prisma but when connecting with tableplus I dont see any tables, only using prisma studio. Is there something I’m missing? I’m using the public schema.
    s
    • 2
    • 4
  • c

    Carl Bowen

    02/22/2021, 7:19 PM
    Hey, please could someone help me with some DNS issue I have much appreciated!
  • c

    Carl Bowen

    02/22/2021, 7:24 PM
    I use Bluehost with nameservers on Vercel (Zeit); who own Next.js. I have a domain and 3 subdomains on it: • Domain repo on github and deployed by Vercel- just Bootstrap template • 2 subdomains on shopify with DNS connected to vercel • 1 wordpress subdomain on Bluehost (but Bluehost had its nameservers changed to Vercel) The domain and shopify subdomains were routing perfectly before I brought Bluehost wordpress subdomain on the scene but now sure how to route everything together... Please help cheers
  • d

    Daniel Cohen

    02/22/2021, 9:31 PM
    👋 I’m trying to upgrade from version 2.5.1 to 2.16.1, really just for the group by query. But in order to do that, I have to switch from using legacy migrations to new migrations. If I don’t delete the old migrations folder and I run
    prisma migrate dev --create-only --preview-feature
    , I get
    Copy code
    Error: The migrations folder contains migration files from an older version of Prisma Migrate which is not compatible.
    if I do delete them I get
    Copy code
    Do you want to continue? All data will be lost.
    Any way to upgrade without deleting all of my data???
    k
    • 2
    • 1
  • d

    Daniel Cohen

    02/22/2021, 10:31 PM
    Nevermind, I eventually found it
  • c

    chrisdhanaraj

    02/23/2021, 1:37 AM
    Curious if anyone has gone through upgrading an application that was using the Prisma beta to Prisma 2 stable? Going through it right now and... there's a fun mix of v1 API's and v2.
    e
    r
    • 3
    • 7
  • j

    James Ballard

    02/23/2021, 1:55 AM
    Hi there! Can someone point me to the channel to ask for help? I'm having an interesting issue that I Just can't figure out.
    r
    • 2
    • 2
  • f

    flybayer

    02/23/2021, 2:18 AM
    Anyone tried https://www.planetscale.com with Prisma for a serverless app?
    s
    • 2
    • 2
  • m

    Mitchell Amihod

    02/23/2021, 2:53 AM
    Hi. New to prisma (2.15.0). Working through some things, having a hard time finding docs for env(…) in the prisma.schema. There’s reference to dotenv expansion - but can env support that? or do I need a .env file for that? Basically, what I’m hoping to avoid is having to define the DB_URL, since I’d rather build the dsn from the individual pieces in the code and not have to rely on .env file (for example)
  • m

    Mitchell Amihod

    02/23/2021, 2:53 AM
    Was looking for some guidance. All i can find on the
    env(…)
    command is just the example usage
  • m

    Mitchell Amihod

    02/23/2021, 2:54 AM
    or even more details on what can’cant be done in the schema
  • m

    Mitchell Amihod

    02/23/2021, 2:55 AM
    Sorry if this is the wrong channel for this. I guess what I’m wondering is if there’a way to see the ‘rendered’ schema file ?
  • m

    Mitchell Amihod

    02/23/2021, 3:03 AM
    So, can you do something like this in the schema file?
    Copy code
    env("postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?schema=${POSTGRES_SCHEMA}&sslmode=prefer")
    j
    r
    • 3
    • 21
  • j

    Jonathan Stevens

    02/23/2021, 1:04 PM
    Heya, im looking for advice to connect a GCP database to Prisma. I understand the concept of passing the postgresql uri to the env, but not sure how to get the correct connection details out of GCP. So if you could point me in the right direction, that would be appreciated. (If it helps, im using terraform - well learning it - and latest prisma version)
    r
    p
    • 3
    • 2
  • v

    vnadygin

    02/23/2021, 4:00 PM
    Hello guys. Does anyone tried to sync prisma Postgres with elastic?
    🤔 1
    r
    • 2
    • 1
  • c

    Cristian Salamea

    02/23/2021, 8:02 PM
    Hi, i am new with prisma so i have a (typescript) project running v2.5.1, so i need to add 2 DateTime columns and want to know if its possible in migration call a function to set default value ?
  • c

    Cristian Salamea

    02/23/2021, 8:13 PM
    or if its possible after migration call a function to update values ?
  • c

    Cristian Salamea

    02/23/2021, 8:18 PM
    i just found #prima-migrate thank you
  • s

    stephan levi

    02/23/2021, 9:27 PM
    i would like to pass the fragment within graphql's info object
  • a

    Abi

    02/24/2021, 3:58 AM
    Hi, I am new to prisma and I was hoping if anyone has experience unit testing with jest and Next js
  • m

    manuel

    02/24/2021, 9:55 AM
    Hey everyone! I have a question regarding postgres triggers.
1...418419420...637Latest