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

    William Kwao

    11/17/2019, 3:42 PM
    Does anyone on the prisma team have any updates on this issue. I’ll really love have case insensitive search on prisma 1. I don’t mind making a or for this with some guidance from the team. https://github.com/prisma/prisma/issues/3611 .
  • c

    Carrein

    11/18/2019, 7:43 AM
    Hi all, I've been following the Prisma tutorial for go and ran into an issue. I've already created a thread on SO about it: https://stackoverflow.com/questions/58908466/wrong-type-interface-implementation-while-using-prisma-and-golang?noredirect=1#comment104081701_58908466 Anyone knows how I can fix this?
  • e

    Ehsan Sarshar

    11/18/2019, 10:07 AM
    do default values store in database
  • e

    Ehsan Sarshar

    11/18/2019, 10:08 AM
    type Name @embedded { language: @default(value: “EN”) value: “some value” }
  • e

    Ehsan Sarshar

    11/18/2019, 10:08 AM
    when I query for the filed language it says can’t return null for non nullable field
  • t

    Toby

    11/18/2019, 6:43 PM
    This might not be a Prisma question (new to the Node ecosystem). Rebuilding a project and replacing the mssql server with mysql or Postgres one. We want to improve / refactor the db schema as well. Are there any useful Node libraries or parts of Prisma to help perform the etl?
  • f

    Fransjo Leihitu

    11/18/2019, 7:00 PM
    Hi .. I have a Prisma CLoud service on dev stage. Is there a way to copy that service to prod stage?
  • i

    Iain

    11/19/2019, 9:53 AM
    Help please, I have followed (or believe I have followed) the tutorial deploying prisma to AWS Fargate, however I have amended the cloudformation scripts to used Aurora-Postgres. The DB is up and working well and data is being written to it by standard methods. The Prisma Server has appeared to deploy and when i run prisma init all appears well. However when I run prisma deploy i get
  • i

    Iain

    11/19/2019, 9:53 AM
    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 }
  • i

    Iain

    11/19/2019, 9:53 AM
    To me this suggests a configuration issued, but i dont know were to look
    d
    • 2
    • 2
  • i

    Iain

    11/19/2019, 1:01 PM
    To follow up on my question from this morning, please can you tell me what
  • i

    Iain

    11/19/2019, 1:01 PM
    prisma info environment FetchError: invalid json response body at http://prism-publi-7rvj8a3df6qi-368647744.eu-west-2.elb.amazonaws.com/management reason: Unexpected token < in JSON at position 0
  • i

    Iain

    11/19/2019, 1:01 PM
    means
  • i

    Iain

    11/19/2019, 1:06 PM
    when i try and call the endpoint directly, i get service unavailable http://Prism-Publi-7RVJ8A3DF6QI-368647744.eu-west-2.elb.amazonaws.com
  • p

    Pavel Nemchenko

    11/19/2019, 3:25 PM
    Hi, guys! Could somebody help me with such a use case. I am trying to import a huge data set using Prisma generated client TS from a CSV file. My Prisma docker server gives an error
    Copy code
    {"key":"error/unhandled","requestId":"local:ck35zi0ou097e0c29mohp6e5b","clientId":"default$default","payload":{"exception":"java.util.concurrent.RejectedExecutionException: Task slick.basic.BasicBackend$DatabaseDef$$anon$3@16fefe0 rejected from slick.util.AsyncExecutor$$anon$1$$anon$2@47c687c9[Running, pool size = 9, active threads = 9, queued tasks = 1000, completed tasks = 15486]"
    What I am doing is basically just using foreach loop and call prisma's generated method after I parsed the CSV
    Copy code
    foreach () {  
       this.prisma.createUser(userData);
    }
    Did somebody have similar issue? ) I am able to import 1000 record using such algorithm (don't like my approach but cannot find smth more suitable for now). More than 1k gives error.
  • t

    tbernard

    11/19/2019, 4:25 PM
    I’m trying to understand HS with Prisma 1.xx. I’ve found this thread: https://github.com/prisma/prisma/issues/2850#issuecomment-409868271 that implies that this magical hidden rabbitUri will solve all my problems. Is there any documentation about rabbitUri anywhere? Does it have to be an AMQP server or are other (redis) queues accepted?
  • c

    Chris Hare

    11/19/2019, 6:02 PM
    hello everyone. i was wondering if there are any authentication rate limits on either the free version or the hosted version of prisma
  • c

    Chris Hare

    11/19/2019, 6:04 PM
    or graphql-yoga for that matter
  • j

    Jack

    11/19/2019, 10:26 PM
    Hello! Is there any way to connect to two databases from one prisma server? I'd like to connect to a dev database most of the time, and then switch to a test database (using an env variable or something) while running tests. Is this possible using a single prisma server?
  • j

    Joshua Shockley

    11/19/2019, 11:22 PM
    very novice question.... trying to setup a backend that connects to a aws database... to then connect a front end... but i think I'm doing extra work.... anyone hooked up a setup to use prisma graphql backend to aws database and a frontend with create react app javascript app
  • s

    starcraft0429

    11/19/2019, 11:58 PM
    How are you? How can I empty table via graphql-yoga client in node.js? for example when I run console to scrap data, I need to empty one table data and insert again
  • d

    Dan Hill

    11/20/2019, 12:17 AM
    Hi! I'm running through the following tutorial. I can get this tutorial to work. I'm hitting issues running introspect on the DB the tutorial created. https://www.prisma.io/blog/using-graphql-nexus-with-a-database-pmyl3660ncst I wanted to see if I could get prisma to introspect as existing DB but I ran into issues. I run the command line below (and other variants of the command line) and I get ECONNREFUSED. ~/code/prisma/hello-world $ prisma introspect --mysql-host="localhost" --mysql-password=prisma --mysql-user root ▸ 'ECONNREFUSED': connect ECONNREFUSED 127.0.0.1:3306 I can connect to the DB if I 'docker exec' mysql in the container.
  • t

    Tommy Chung

    11/21/2019, 3:20 AM
    Hi guys, are there any best practices on backup prisma? Many thanks!
    k
    • 2
    • 1
  • a

    Alex Buzin

    11/21/2019, 12:40 PM
    Hi, can someone help me? Running
    prisma introspect
  • p

    Paul Hachmang

    11/21/2019, 12:45 PM
    Not enough rights when accessing the database?
  • a

    Alex Buzin

    11/21/2019, 12:56 PM
    @Paul Hachmang I'm using mLab
  • p

    Paul Hachmang

    11/21/2019, 12:56 PM
    Dont know what that is
  • a

    Alex Buzin

    11/21/2019, 12:56 PM
    @Paul Hachmang https://mlab.com/
  • n

    Nick

    11/21/2019, 1:48 PM
    Is there a frontend framework that actually comes with a backend. Like a server and database for setting up some endpoint. It quite weird that none of these popular javascript frameworks and libraries covering any backend at all. You’re ultimately going to need some database to I don’t maybe save Sara and and authenticate her. I don’t want to share my frustration when it comes to modern day web frameworks, but it’s weird. A few years ago ruby on rails was really popular. While site been made with rails monolith solved a lot of this problems for example having a database. It was also slow waiting for requesting a full page and lack of any reactivity ui. What I’m saying here is just a frontend framework maybe like vue.js that comes with backend. For easy setting api relational data, auth maybe a guide on how to handle payment, emailing sending invoice and pdf and file uploading. Something that cover how to build an web application from step 0 -100 a proper web framework Even some of these javascript frameworks are exploring this area for example both nuxt.js and next.js are server-side rendering frameworks. They just missing the crucial part which is a database.
    m
    • 2
    • 1
  • i

    Isaac Weber

    11/21/2019, 2:58 PM
    Is there a way to specify the url when you do prisma deploy? I am having the toughest time figuring out how to set up a CI/CD pipeline with prisma.
1...333334335...637Latest