menu

Prisma

🔴 The Prisma Spectrum community is not officially managed by Prisma's support team any more. Please seek help on GitHub or on Slack instead. Learn more: https://spectrum.chat/prisma/general/where-and-how-to-best-seek-help-with-questions-problems~687a1b8f-8658-4df3-8849-ea5ab3503f28

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# Beta
view-forward
# Community
view-forward
# GraphQL
view-forward
# OSS
view-forward
# Random
view-forward
Team

Prisma watercooler

March 20, 2019 at 8:32am
Show previous messages

June 7, 2019 at 10:33am
Is it possible to build a prisma server infront of an existing dotnet GraphQL service? I am really interested in using the prisma admin tool.
  • reply
  • like

June 8, 2019 at 9:53pm
hi im new user and i want to try prisma, but i see prisma 2 ->19 june, i want to know if prisma 1.30 will be compatible with prisma 2 (update v1 -> v2), or if i need to wait prisma 2 thanks
Edited
  • reply
  • like

June 13, 2019 at 9:29pm
hello
  • reply
  • like
Is anyone here?
  • reply
  • like
I have a problem with prisma deploy
  • reply
  • like

June 14, 2019 at 7:30pm
i'm here
  • reply
  • like
a day late :P
  • reply
  • like

June 18, 2019 at 12:11pm
If anyone's awake in here: The "create a new database" flow on the admin panel in prisma seems to be broken, I can't link my existing heroku account, it just gives me a "Invalid credentials" error as soon as i hit "create", any ideas?
  • reply
  • like

June 19, 2019 at 1:06am
Hi all!
  • reply
  • like
I'm having the following issue after following Get Started with an existing database. My setup is as follows:
  • Windows 10: WSL Ubuntu 18 or standard CMD
  • Prisma CLI: prisma/1.34.0 (linux-x64) node-v10.16.0
  • MySQL: Community Server 5.7 running on port 3309
Stack Trace:
[email protected]:/mnt/c/Users/user1/Documents/Projects$ prisma init ps-graphql
command Failed to get the definition file +0ms
command Error: Couldn’t find `prisma.yml` file. Are you in the right directory? +2ms
init prisma init workflow called without existing directory. +0ms
init Error: ENOENT: no such file or directory, scandir '/mnt/c/Users/user1/Documents/Projects/ps-graphql/' +1ms
client Sending query to cloud api +0ms
client https://api2.cloud.prisma.sh +0ms
client {
client me {
client id
client name
client login {
client email
client }
client }
client } +1ms
client undefined +1ms
client { headers:
client { Authorization:
client 'Bearer xxxxxxxxxxx.xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxx' },
client agent: undefined } +1ms
endpoint-dialog EndpointDialog workflow called without existing directory. +937ms
endpoint-dialog Error: ENOENT: no such file or directory, scandir '/mnt/c/Users/user1/Documents/WORK/KHPH-INC/Projects/ps-graphql/' +0ms
? Set up a new Prisma server or deploy to an existing server? Use existing database
? What kind of database do you want to deploy to? MySQL
? Does your database contain existing data? Yes
? Enter database host localhost
? Enter database port 3309
? Enter database user dbuser
? Enter database password [hidden]
Introspecting database prestashop... !
TypeError: Cannot read property 'type' of undefined
at _loop_3 (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-db-introspection/src/databases/relational/relationalIntrospectionResult.ts:348:28)
at MysqlIntrospectionResult.RelationalIntrospectionResult.hideJoinTypes (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-db-introspection/dist/databases/relational/relationalIntrospectionResult.js:552:17)
at MysqlIntrospectionResult.RelationalIntrospectionResult.infer (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-db-introspection/src/databases/relational/relationalIntrospectionResult.ts:504:18)
at MysqlIntrospectionResult.RelationalIntrospectionResult.getDatamodel (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-db-introspection/src/databases/relational/relationalIntrospectionResult.ts:53:17)
at MysqlIntrospectionResult.IntrospectionResult.getNormalizedDatamodel (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-db-introspection/src/common/introspectionResult.ts:23:24)
at EndpointDialog.<anonymous> (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-cli-core/src/utils/EndpointDialog.ts:409:44)
at step (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-cli-core/dist/utils/EndpointDialog.js:43:23)
at Object.next (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-cli-core/dist/utils/EndpointDialog.js:24:53)
at fulfilled (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-cli-core/dist/utils/EndpointDialog.js:15:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
output Exiting with code: 1 +0ms
  • reply
  • like
I noticed that a similar issue in GH has been closed. Is there something I'm missing?
  • reply
  • like

June 20, 2019 at 6:23pm
hello is there any tutorial on configuring more than one database currently i coan onlywork with dthe default database , i added more databases to PRISMA_CONFIG but im unable to deploy service to use them
  • reply
  • like
  • reply
  • like
so only default database is working prisma cli deployed correctly to default db but i cant deploy a service to the other database(called regasis) in PRISMA_CONFIG how to do it ?
  • reply
  • like

July 6, 2019 at 11:35am
Hello, I am facing one problem, my server is running on http://localhost:4466 but prisma deploy is not working
  • reply
  • like
Second screenshot
  • reply
  • like
  • reply
  • like
  • reply
  • like

July 8, 2019 at 12:28pm
and after executing below command prisma init getting error as
  • reply
  • like
  • reply
  • like

July 10, 2019 at 8:29am
Hi, I want to connect mariadb with ssl but prsima init and prisma introspect don't ask me to ssl option. how do I fix it?
  • reply
  • like

July 15, 2019 at 2:14pm
Use prisma internal field id value as a public resource identifier. Hello! I would like to implement a web application for a blog, where posts will be accessible via a URI, which will contain a unique identifier for each post. Is the public internal database identifier correct as a public resource identifier? Is it bad idea?
  • reply
  • like
Show more messages