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

    Darryl

    05/01/2019, 1:08 AM
    I see the tag in Docker for the recently-released 1.32.0 but I’m having trouble running
    docker-compose up -d
    .
    Copy code
    Pulling prisma (prismagraphql/prisma/1.32.0:)...
    ERROR: pull access denied for prismagraphql/prisma/1.32.0, repository does not exist or may require 'docker login'
    r
    • 2
    • 20
  • k

    kitze

    05/01/2019, 6:30 AM
    What would be the
    yoga build
    equivalent for
    nexus
    ?
    w
    • 2
    • 1
  • m

    mario

    05/01/2019, 11:30 AM
    I’ve a doubt regarding Prisma architecture: What is the motivation for placing Prisma inside a docker container rather than it being a library ( like Sequelize, etc)?
    n
    • 2
    • 2
  • c

    Craig

    05/01/2019, 1:24 PM
    Hi All! New to Prisma and GraphQL so I have what is likely a stupid question: Why do I need to define my data schema essentially twice - once in my
    prisma.datamodel
    file and again in my
    schema.graphql
    file? As per this example repo: https://github.com/prisma/prisma-examples/tree/master/node/graphql. Is it because the former is not really graphQL syntax? Also, why does the example repo define a separate graphQL server using graphql-yoga when the prisma playground “speaks” GraphQL and I can make graphQL queries against my prisma server/database.
    n
    n
    j
    • 4
    • 8
  • q

    quqoo

    05/01/2019, 4:23 PM
    hi all - not sure where to ask this ... noob playing around with react / apollo / graphcool. i have a mutation that needs the logged-in user's id. what's the easiest way to access it?
    j
    k
    j
    • 4
    • 7
  • m

    Martin Benjamin

    05/01/2019, 4:45 PM
    Hi guys, i dont know if is the right channel, but i need some help 🙂
  • m

    Martin Benjamin

    05/01/2019, 4:46 PM
    Can i share a schema with multiples container
    h
    l
    • 3
    • 157
  • m

    Martin Benjamin

    05/01/2019, 4:46 PM
    ?
  • m

    Martin Benjamin

    05/01/2019, 4:46 PM
    with docker?
  • m

    Martin Benjamin

    05/01/2019, 4:47 PM
    Like that.
  • m

    Martin Benjamin

    05/01/2019, 4:47 PM
    thx for your responses
  • i

    impowski

    05/01/2019, 6:59 PM
    Guys, I have an input object with nullable values which is acting as filter, and I want to use those values inside
    where
    cluase but I don’t want to filter objects with null values
  • b

    bkstorm

    05/02/2019, 4:25 AM
    When I use
    @createdAt
    ,
    @updatedAt
    , prisma creates two columns with
    timestamp without timezone
    type in Postgresql. I try to change their type to
    timestamp with timezone
    , but when I redeploy, the error show up
    Copy code
    Encountered unknown SQL type timestamptz with column createdAt
    If I change their type back to
    timestamp without timezone
    , I can deploy successfully. So my question is
    How can I use timestamp with timezone in Postgresql?
    l
    h
    • 3
    • 2
  • g

    gopidon

    05/02/2019, 4:54 AM
    I am unable to upload a simple file (.jpg/.pdf) to the File type on Graphcool framework. Not sure if something's wrong. Even the simplest of the uploads like the following doesn't work.
    h
    • 2
    • 2
  • g

    gopidon

    05/02/2019, 4:54 AM
    curl -X POST "https://api.graph.cool/file/v1/cjv660qp33y6w0112c3d1jne5" -F "data=@photo2.jpg;filename=myname.jpg"
  • g

    gopidon

    05/02/2019, 4:55 AM
    Result is:
  • g

    gopidon

    05/02/2019, 4:55 AM
    <html> <head><title>503 Service Temporarily Unavailable</title></head> <body bgcolor="white"> <center><h1>503 Service Temporarily Unavailable</h1></center> </body> </html>
  • g

    gopidon

    05/02/2019, 4:57 AM
    Is the Files API down? status.graph.cool says it's fine. 😫
  • a

    Al

    05/02/2019, 8:41 AM
    Hi, I need to introspect a prisma service after deploy new DATA MODEL instead of use the schema generator in prisma.yml. When I deploy a new schema via prisma management API, the migration status returned is PENDING, so if I send a query introspect it will not return the last schema . But if I use prisma CLI and hook the generator this will not happens. How can workaround this issue?
  • g

    go4cas

    05/02/2019, 1:36 PM
    Hey guys! Is it possible to use prisma on an existing PostgreSQL database, where the tables are in a number of schemas?
    p
    • 2
    • 6
  • j

    Jonathan Demirgian

    05/02/2019, 3:28 PM
    i'm trying to build out a demo thing that's cheap to run and explores stateless infra. i haven't done much of anything outside of frontend/some server python before so i'd really appreciate a sanity check on this: - i don't need subscriptions, so i'm going to try running my prisma server on aws lambda/apex up and host the db on aws aurora. - for local dev i'm going to stick prisma and a mysql server in their own containers. this approach does make sense, right?
    h
    • 2
    • 1
  • j

    José Gomes

    05/02/2019, 5:38 PM
    Hello guys! It is possible with prisma to rollback to the previous migration? Like, if i added a new column by mistake, then i can say that i want to rollback to the last migration, or a to a migration ID. Thanks!
    j
    t
    • 3
    • 28
  • n

    Novalis

    05/02/2019, 7:42 PM
    Hey guys, i just saw that schema delegation is not really supported in the current prisma-client. However, Is there somehow a way to get this kind of working? 🙂
    n
    • 2
    • 4
  • p

    prilutskiy

    05/02/2019, 8:20 PM
    Hello everyone Is it possible to execute raw SQL query, given I’m using prisma client?
  • p

    prilutskiy

    05/02/2019, 8:20 PM
    Or I should connect to the database directly?
    j
    • 2
    • 1
  • p

    Possawat Suksai

    05/03/2019, 5:14 AM
    Hi
  • p

    Possawat Suksai

    05/03/2019, 5:14 AM
    I want to know how to improve my schema
  • p

    Possawat Suksai

    05/03/2019, 5:15 AM
    https://gist.github.com/iammarkps/df0b8907b1a2a977da30b506aa3a92b3
  • p

    Possawat Suksai

    05/03/2019, 5:15 AM
    Is there a better way for this schema?
  • p

    Possawat Suksai

    05/03/2019, 5:15 AM
    Using relation just not work for me
1...264265266...637Latest