Isaac Weber
08/27/2019, 4:34 PMprisma deploy --env-file .env
everytime?Harshit
08/27/2019, 4:56 PMirvsdj
08/27/2019, 4:58 PMirvsdj
08/27/2019, 4:58 PMtomhut
08/27/2019, 5:03 PMYehonatan Levi
08/27/2019, 5:18 PMYehonatan Levi
08/27/2019, 5:35 PMtafelito
08/27/2019, 9:36 PMLouis Gillies
08/27/2019, 10:25 PMPRISMA_MANAGEMENT_API_SECRET
injected into the docker container correctly and suddenly after a deploy and a generate I'm getting this error
"Your token is invalid. It might have expired or you might be using a token from a different project."Any ideas?
Samuel Roth
08/28/2019, 12:25 AMgopidon
08/28/2019, 1:40 AMirvsdj
08/28/2019, 3:05 AMTerence Hong
08/28/2019, 3:16 AMcreatedAt
is being recreated when it already exists. I read the various issues and understand that both updatedAt
and createdAt
are reserved in prisma, but using it would simply expose already-existing columns.
The error I get is org.postgresql.util.PSQLException: ERROR: column "created_at" of relation "addresses" already exists
, and the only way to get around this seems to be to remove the field from datamodels altogether.Terence Hong
08/28/2019, 3:18 AMmigrations: false
in my local docker-compose file, yet the DB is seemingly trying to make and apply migrations. This seems troubling tbh.Luke
08/28/2019, 4:48 AMnull
in a mutation and unsure if it's a bug or if I'm approaching this wrong. Would anyone be able to offer some advice?
Rough overview of the problem is:
- Create an object with a @unique
field explicitly set to null
- Create another object with the same field explicitly set to null
...
"message": "A unique constraint would be violated on User. Details: Field name = email"
...
Ivor
08/28/2019, 6:53 AMlogin
resolver which I call from ApolloClient, but I decided to add a Login with Twitter button and the logic lives in ExpressJS. Here's my callback:
server.express.get(
"/auth/twitter/callback",
passport.authenticate("twitter", {
failureRedirect: "/twitter_failed",
session: false
}),
(req, res, next) => {
// <-- invoke `login` mutation
res.redirect("<http://localhost:3000/>");
}
);
My doubt is how would you call a mutation from express.get
?Yehonatan Levi
08/28/2019, 9:17 AMYehonatan Levi
08/28/2019, 9:24 AMYehonatan Levi
08/28/2019, 9:24 AMYehonatan Levi
08/28/2019, 9:38 AMYehonatan Levi
08/28/2019, 9:39 AMJBriggs
08/28/2019, 9:57 AMJBriggs
08/28/2019, 1:42 PMIvor
08/28/2019, 2:00 PMJBriggs
08/28/2019, 4:01 PMJBriggs
08/28/2019, 4:02 PMJBriggs
08/28/2019, 4:02 PMfaure
08/28/2019, 4:41 PMfaure
08/28/2019, 4:43 PMrjmurt
08/28/2019, 5:11 PM