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

    Max

    06/14/2020, 8:02 PM
    i setup a simple docker-compose file for just a prisma2 project, when i run it in the logs I get:
    Copy code
    Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.
    when i run
    dk exec <c_name> npx prisma generate
    it says it's ready to use, then I attempt to
    dk exec <c_name> npx prisma introspect
    and I get
    Copy code
    `Can't reach database server at `postgres`:`5432
    I can confirm the db is working and that without docker the introspection works, ive a volume setup which connects the docker container app folder and the local one, when I change the
    prisma/.env
    url string to something else and
    cat
    to ensure it has changed it works but when I run
    introspect
    in the container again it says that it cannot connect with the default
    5432
    port even though I changed it
    j
    r
    • 3
    • 45
  • m

    Max

    06/14/2020, 8:02 PM
    any help would be appreciated
  • m

    Max

    06/14/2020, 8:04 PM
    anyone have a working docker+postgres example?
  • s

    Seungsu Kim

    06/16/2020, 7:35 AM
    Hello. I’m trying to use Prisma1 for production with AWS. My web API server runs on ElasticBeanstalk and my MySQL DB runs on RDS. I’m trying to deploy Prisma1 on AWS Fargate. In this circumstance, I’m worried about autoscaling. Setting autoscaling-related options on Fargate is the only thing I have to do? Or are there some problems to be considered? Such as what if two different Prisma task on Fargate tries to update the same data in RDS? I’m also considering moving to Prisma2. I heared that Prisma2 can be deployed to AWS Lambda. In this case, are there any problems that I should care?
    r
    • 2
    • 3
  • t

    Thanni Olamilekan

    06/16/2020, 9:01 AM
    Good morning house, I'm a prisma newbie. I'm trying to run prisma deploy after editing my datamodel.prisma file. I'm getting internal server error. Please I need help 🙏
    b
    • 2
    • 3
  • b

    badspeler

    06/16/2020, 9:07 AM
    Yo. Glad to finally check out this place. I don't have a specific problem, but I was wondering if it's possible to use Prisma to keep my database up-to-date? I think this is related to streaming? My idea is to use a queue to update my database periodically.
    Copy code
    Realtime streaming & event system for your database ensuring you're getting updates for all important events happening in your database.
    r
    • 2
    • 1
  • j

    janpio

    06/16/2020, 9:32 AM
    set the channel topic: General Discussions (Looking for Prisma 2? Join the #prisma2 channel!) (Looking for Prisma 1? Join the #prisma1 channel!)
  • j

    James Potts

    06/16/2020, 7:16 PM
    Just curious when Prisma might update it’s use of the ‘statuses’ npm package? I’m receiving errors whenever I install a new instance graphql-yoga or prisma. The issue is illustrated in this issue filed on Github yesterday. https://github.com/prisma-labs/graphql-yoga/issues/643
    r
    • 2
    • 5
  • n

    Nishant Srivastava

    06/17/2020, 7:14 PM
    Hi All, May be it looks like a stupid question , but I am currently understanding prisma to understand if we can use it in our application. Can anyone make me understand how Prisma is going to be useful for applications involving complex queries like the ones that were traditionally getting handled by joins and all.
    a
    r
    r
    • 4
    • 13
  • r

    René Pinnell

    06/17/2020, 10:58 PM
    I have an urgent request that I hope someone can help me with. I run a startup called Kaleidoscope that supports artists with micro-grants. Due to the pandemic we have fallen behind in our efforts to migrate our server infrastructure away from Graph Cool. There is no way we will be able to finish before you sunset the product on July 1st. Is there anyway humanly possible someone can extend the sunset date even by a week or two? Having our platform down for a few weeks could kill our company and seriously disrupt the artists who rely on our platform. I would be incredibly grateful if someone could direct me to the appropriate person at Prisma to talk with about getting a reprieve from Graph.cool sunsetting. Best, René Pinnell CEO Kaleidoscope rene@kaleidoscope.fund
    s
    j
    • 3
    • 3
  • d

    Danny

    06/18/2020, 12:08 AM
    When deploying an updated datamodel to prisma is there a way to see the new changes without refreshing the page or changing the view?
  • d

    Danny

    06/18/2020, 12:09 AM
    I can re-run to see new rows within a table, but to see a new table I need to refresh the whole page
    r
    j
    • 3
    • 2
  • n

    Nishant Srivastava

    06/18/2020, 12:25 AM
    can we handle group by functionality as well using prisma ?
    d
    • 2
    • 2
  • m

    Mustapha BENLAHRECH

    06/18/2020, 2:30 AM
    Hi people, anyone knows how to fix the issue with Prisma Admin version 1.34.10 : prisma admin typeerror: t[r] is undefined Whenever I want to add an item to a list And i found this : https://github.com/prisma/prisma-admin-feedback/issues/158 Which explains this issue and someone suggested that 1.34.6 version has not this problem but I found a similar issue also there Any fixes , help because we are planning to launch our project this week and we need the admin dashboard (which is one of the big reasons that we opted for Prisma)
    n
    • 2
    • 2
  • m

    Manthan Mallikarjun

    06/18/2020, 8:25 AM
    Still can't get over how much better Prisma has made my programming experience. Easily 10 fold
    💯 7
    prisma green 8
    prisma rainbow 7
    ❤️ 4
    j
    • 2
    • 1
  • j

    Julien Goux

    06/18/2020, 9:35 AM
    Hello all, typescript is complaning about missing modules "@prisma/engine-core" and "@prisma/generator-helper" in my generated folder
    r
    • 2
    • 10
  • j

    Julien Goux

    06/18/2020, 9:35 AM
    are these packages required now?
    d
    • 2
    • 1
  • d

    Danny

    06/18/2020, 11:17 PM
    I just finished the howtographql.com tutorial, I think what we used was the prisma client lib 1, is prisma 2 too different?
    r
    • 2
    • 2
  • j

    Janu Shan

    06/19/2020, 1:56 AM
    Hey @Etel I love the workshops you guys have got planned. 💃 Unfortunately, I’m not sure if I can attend one of them but it would be super useful for my team. Would the workshop sessions from Prisma Day be recorded?
    ➕ 1
    r
    e
    • 3
    • 3
  • k

    Kaspar Naaber

    06/19/2020, 6:33 AM
    Hi! Is there a way to import Prisma day talks to my calendar like it was possible with the workshops?
  • d

    Danny

    06/20/2020, 12:22 AM
    Is the Prisma 1 Cloud meant to be used in production? Or is it just for development purposes?
  • d

    Danny

    06/20/2020, 12:22 AM
    Does one has to bring its own database when using prisma in production?
    r
    • 2
    • 1
  • d

    Danny

    06/20/2020, 12:27 AM
    I'm just slightly confused, when I did the howtographql tutorial, I never had to introspect the database or run specific database schemas, I just wrote the datamodel and with prisma deploy the database and tables were created
    r
    r
    • 3
    • 2
  • m

    Manthan Mallikarjun

    06/20/2020, 1:23 AM
    Is authentication going to be part of prisma studio
    j
    • 2
    • 2
  • c

    Chris Zempel

    06/20/2020, 7:03 PM
    Is there a "recipe book" anywhere for common situations & recommended data modeling approaches using prisma? (Example: separating the idea of accounts from users, accounts grouped into teams, teams into orgs, multitenancy, etc)
    r
    • 2
    • 1
  • s

    Seungsu Kim

    06/21/2020, 8:32 AM
    Hi. I’ve set prisma server on AWS Faragate with docker. Now I’m trying to deploy my datamodel on the serever. However there are two problems. • Sometimes I run prisma deploy, it returns the following 503 error. I’m curious why this error occurs “sometimes”.
    Copy code
    ERROR: GraphQL Error (Code: 503)
    
    {
      "error": "<html>\r\n<head><title>503 Service Temporarily Unavailable</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>503 Service Temporarily Unavailable</h1></center>\r\n</body>\r\n</html>\r\n",
      "status": 503
    }
    • If the 503 error not occurs, following error occurs for every entities of my datamodel.
    Copy code
    User
        ✖ The field `id` is reserved and has to have the format: id: ID! @unique or id: UUID! @unique.
    How can I solve these problems…?
    j
    • 2
    • 1
  • s

    Sieg

    06/21/2020, 10:54 AM
    Hey everyone! Sieg here from 🇵🇭 .
    👋 3
    j
    • 2
    • 1
  • ś

    Śāntanu

    06/21/2020, 4:27 PM
    What is the best way to be notified of updates around Prisma 2 supporting MongoDB?
    j
    • 2
    • 2
  • p

    Pedro

    06/22/2020, 1:49 AM
    Hi folks, I wonder if there is any solution to handle multiple Postgres schema using Prisma2?
  • e

    Emre Ozdemir

    06/22/2020, 3:09 AM
    hey everyone, wanted to share an app that I have built using prisma & nexus for the backend, and expo for the client app, thought it might be cool to share what you can do with the platform. The app is called Summer. Summer lets you create lists of the things you wanna remember and keep track of, right now we are focusing on content (Movies, Books, TV Shows, Podcasts, Games, Music) but we will be adding adding restaurants, places, and events soon. So you can imagine using summer to keep track of the books you wanna read, or the movies you wanna watch, or your favorites podcasts, etc. And it has a social aspect so you share your lists with your friends and social media. Feedback is highly encouraged. You can download the app here (iOS only for now, android version coming soon). More info here: https://summerapp.com/
    🎉 5
    🚀 3
    fast parrot 5
    😍 4
    👀 2
    💯 3
    j
    z
    +2
    • 5
    • 14
1...382383384...637Latest