Adriano Resende
04/06/2020, 12:32 AMHendy Irawan
04/06/2020, 1:46 AMTristan
04/06/2020, 11:18 AMBenjamin C
04/06/2020, 2:56 PMGiorgio Delgado
04/06/2020, 4:27 PMivanrodricalleja
04/06/2020, 6:09 PMt.crud.series()
but it has been impossible. I don't get any error maybe it is because i am using something wrong but my first question is: Could these 2 plugins be combined?
Here is the repo: https://github.com/IvanRodriCalleja/prisma-series
The repo has not the connectionPlugin because it didn't works/fails but i can push a branchMarwan Roushdy Ahmed
04/07/2020, 1:03 AMMarwan Roushdy Ahmed
04/07/2020, 1:03 AMMarwan Roushdy Ahmed
04/07/2020, 1:04 AMAlex Vilchis
04/07/2020, 4:08 AMAashish Jain
04/07/2020, 7:06 AMUgogo
04/07/2020, 7:43 AMUgogo
04/07/2020, 7:44 AMPatrick Moore
04/07/2020, 7:18 PMAlec Benzer
04/08/2020, 1:45 AMRain
04/08/2020, 3:57 AMLars-Jørgen Kristiansen
04/08/2020, 7:26 AMRaluca Fleseriu
04/08/2020, 9:45 AMiandjx
04/08/2020, 10:29 AMonDelete: CASCADE
for cascading deletes. can this also be implemented for prisma 2?Ashiqur Rahman
04/08/2020, 11:10 AMprisma-deploy
inside gitub-action?
when prisma deploy, It didn't show any error.
but when trying to seed the database rt gives me project not found
Chad H
04/08/2020, 1:26 PMApplying changes 10.8s
! The Migration failed and has not been performed. This is very likely not a transient issue.
! org.postgresql.util.PSQLException: ERROR: column "someTable" of relation "someRelation" already exists
! at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
! at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
! at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306)
! at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
! at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
! at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:155)
! at org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:144)
! at slick.jdbc.StatementInvoker.results(StatementInvoker.scala:39)
! at slick.jdbc.StatementInvoker.iteratorTo(StatementInvoker.scala:22)
! at slick.jdbc.Invoker.first(Invoker.scala:30)
! at slick.jdbc.Invoker.first$(Invoker.scala:29)
! at slick.jdbc.StatementInvoker.first(StatementInvoker.scala:16)
! at slick.jdbc.StreamingInvokerAction$HeadAction.run(StreamingInvokerAction.scala:52)
! at slick.jdbc.StreamingInvokerAction$HeadAction.run(StreamingInvokerAction.scala:51)
! at slick.basic.BasicBackend$DatabaseDef$$anon$3.liftedTree1$1(BasicBackend.scala:276)
! at slick.basic.BasicBackend$DatabaseDef$$anon$3.run(BasicBackend.scala:276)
! at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
! at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
! at java.lang.Thread.run(Thread.java:748)
!
Sebastien La Duca
04/08/2020, 6:13 PM$fragment
method on prisma operations still available in the new client?Ben Awad
04/08/2020, 6:38 PMIsaac Weber
04/08/2020, 7:07 PMIsaac Weber
04/08/2020, 7:14 PMprisma.user({id: "1234"}).business()
this will only give you back a business based on a user id but let’s say I want both the user and business. As far as I know I can’t do that. Other than using the $graphql
operation or maybe the $fragment
operation. I was wondering if there is a reason for this? I could see how it could cause performance issues. So I just wanted to make sure i wasn’t shooting myself in the foot if I start using it.christian
04/08/2020, 8:25 PMt.crud.createOneUser()
from User to another object typemartin
04/08/2020, 9:27 PMSacha Weatherstone
04/08/2020, 11:13 PMmodel User {
id String @id @default(cuid())
username String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
groups Group[]
}
enum Group {
ADMIN
RADIUS
}
I am able to assign multiple enum values to a user using the api or studio, however I am unsure of how to handle this in nexus.
Seems as though I need a definition for Group, but don't know what fields I need.Omar
04/09/2020, 4:13 AMOmar
04/09/2020, 4:13 AM$ npx prisma deploy
▸ Could not connect to server at <http://localhost:4466>. Please check if your server is running.
Get in touch if you need help: <https://slack.prisma.io>
To get more detailed output, run $ export DEBUG="*"
(node:5600) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated