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

    Bram

    01/08/2019, 7:48 PM
    Hi Guys
  • b

    Bram

    01/08/2019, 7:48 PM
    Somehow my rawAccess is missing from the Bindings in production
    d
    • 2
    • 2
  • b

    Bram

    01/08/2019, 7:48 PM
    anyone has an idea?
  • b

    Bram

    01/08/2019, 7:51 PM
    rawAcces is on true
  • b

    Bram

    01/08/2019, 7:51 PM
    i copy prisma.yml config to the docker container root (not using docker-compose) and it worked before
  • b

    Bram

    01/08/2019, 8:00 PM
    Copy code
    Seeding based on babel-node ./src/schemas/config/seeds.js...
    TypeError: prisma.private.mutation.executeRaw is not a function
        at Object.executeRaw (/usr/src/api/src/schemas/badWord/badWord.prod.seed.js:43:34)
        at tryCatch (/usr/src/api/node_modules/regenerator-runtime/runtime.js:62:40)
        at Generator.invoke [as _invoke] (/usr/src/api/node_modules/regenerator-runtime/runtime.js:288:22)
        at Generator.prototype.(anonymous function) [as next] (/usr/src/api/node_modules/regenerator-runtime/runtime.js:114:21)
        at asyncGeneratorStep (/usr/src/api/src/schemas/badWord/badWord.prod.seed.js:60:103)
        at _next (/usr/src/api/src/schemas/badWord/badWord.prod.seed.js:62:194)
        at process._tickCallback (internal/process/next_tick.js:68:7)
        at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
        at Object.<anonymous> (/usr/src/api/node_modules/@babel/node/lib/_babel-node.js:234:23)
        at Module._compile (internal/modules/cjs/loader.js:689:30)
    (node:216) [DEP0079] DeprecationWarning: Custom inspection function on Objects via .inspect() is deprecated
  • b

    Bram

    01/08/2019, 8:01 PM
    I log the prisma bindings client and it also doesn't show an rawAccess function
  • b

    Bram

    01/08/2019, 8:01 PM
    I do not use the management api
  • b

    Bram

    01/08/2019, 8:02 PM
    it is turned off
  • b

    Bram

    01/08/2019, 8:02 PM
    Its back
  • b

    Bram

    01/08/2019, 8:03 PM
    Not sure what fixed it. I redeployed everything
  • b

    Bram

    01/08/2019, 8:03 PM
    changed some variable ordering and naming but I think it's the deploy
    d
    • 2
    • 30
  • p

    pckzs

    01/08/2019, 9:02 PM
    Anyone know why there hasn't been ARM support to date or if there's a reason prisma is using an Oracle JDK image as its base image? If anyone's on the lookout for an ARM build, see here. https://github.com/prisma/prisma/pull/3821
  • l

    Lucas

    01/08/2019, 10:49 PM
    Hi guys
  • l

    Lucas

    01/08/2019, 10:49 PM
    whats the endpoint or how can i see the endpoint in the prisma dashboard to use in my app ??
  • l

    Lucas

    01/08/2019, 10:49 PM
    the ones in the admin are not working
  • l

    Lucas

    01/09/2019, 3:32 AM
    After hours and hours still can’t connect my frontend application with prisma database server using this endpoint: https://us1.prisma.sh/lucas-3856c0/ao-gallery/dev any suggestions please ??
  • l

    Lucas

    01/09/2019, 3:32 AM
    yes it works perfect in localhost
  • l

    Lucas

    01/09/2019, 3:40 AM
    Ok i think i get it , its about HTTPS protocol , i reckon.
  • l

    Lucas

    01/09/2019, 3:40 AM
    my website is under http not https and the endpoint is under https
  • l

    Lucas

    01/09/2019, 3:41 AM
    perhaps is that the answer at this point i don’t know 😞
  • l

    Lucas

    01/09/2019, 3:55 AM
    mmmm i think now yes i get it XD, im trying to connect to prisma server directly without my prisma instance
  • l

    Lucas

    01/09/2019, 3:56 AM
    i think i need to deploy my backend and then I’ll be able work with it ? perhaps
  • l

    Lucas

    01/09/2019, 4:18 AM
    yes was that, just deployed the backend on heroku and works fine
  • z

    Zhao

    01/09/2019, 4:18 AM
    Hi, does anyone know how to write a query to compare two fields in the same record/raw (using Prisma client)?
  • l

    Lucas

    01/09/2019, 4:18 AM
    🤦‍♂️
  • a

    Andy

    01/09/2019, 4:20 AM
    I'm just getting started with prisma, and i'm trying to add a data model in my db for an existing table, I've added the data model to
    datamodel.prisma
    (replacing
    User
    ), then run
    npx prisma deploy
    and
    npx prisma generate
    , but my graphql server at http://localhost:4466/ still only has the schema for the default
    User
  • a

    Andy

    01/09/2019, 4:21 AM
    My
    generated/prisma-client/prisma-schema.js
    has the schema for the new data model
  • a

    Andy

    01/09/2019, 4:23 AM
    oh wtf, now it shows up
  • a

    Andy

    01/09/2019, 4:25 AM
    does prisma expect table names to be uppercase and singular to match the model?? 😞
1...186187188...637Latest