Owen Delisle
06/05/2019, 6:33 PMOwen Delisle
06/05/2019, 6:34 PMSteven Vachon
06/05/2019, 7:34 PMSteven Vachon
06/05/2019, 7:35 PMtypeDefs
part that makes me not want to use it in my frontend appSteven Vachon
06/05/2019, 7:36 PMfetch
-based solution, but it's becoming annoying to transform data to include create
and update
encapsulatorsSteven Vachon
06/05/2019, 7:40 PMAlosies
06/06/2019, 6:58 AMprisma deploy
. I’m able to query the scalar fields correctly but many relations are missing and returning null.
Has anybody faced similar situation and solved? Or any help is highly appreciated.
I’ve created an issue on GitHub as well regarding import/export issue.(https://github.com/prisma/prisma/issues/4627)Alosies
06/06/2019, 6:59 AMAlosies
06/06/2019, 7:00 AMAlosies
06/06/2019, 7:01 AMbkstorm
06/06/2019, 7:41 AMprisma deploy
, it works well.
But then, I run prisma deploy --no-migrate
, an error shows up, I can't figure out the problem, I hope you can. Here is the error and my schema.
What should I do with the language
column ? Its type is text in PostgreSQL.
CategoryContent
✖ The underlying column for the field `language` has an incompatible type. The field has type `Enum` and the column has type `String`.
type CategoryContent @db(name: "category_content") {
id: Int!
@id(strategy: SEQUENCE)
@sequence(
name: "category_content_id_seq"
initialValue: 1
allocationSize: 100
)
language: LanguageCode!
name: String!
}
enum LanguageCode {
VI
KO
EN
}
Ameya Deshpande
06/06/2019, 9:22 AMnotrab
06/06/2019, 9:28 AMPierre Rochard
06/06/2019, 12:21 PMPierre Rochard
06/06/2019, 12:21 PMwhile (true)
is blockingPierre Rochard
06/06/2019, 12:23 PMPierre Rochard
06/06/2019, 12:24 PMfor await
but got an error Type 'AsyncIterator<User>' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator.ts (2549)
tafelito
06/06/2019, 4:34 PMjava.sql.SQLSyntaxErrorException: (conn=4) Unknown column 'Alias.text' in 'field list'
I can’t figure it put how to fix it. I already reset the data, force deploy but anything seems to worktafelito
06/06/2019, 4:34 PMAndrew
06/06/2019, 6:32 PMkoia
06/06/2019, 7:18 PMkoia
06/06/2019, 7:19 PMAndres Montoya
06/06/2019, 10:51 PMPierre Rochard
06/06/2019, 11:11 PMPierre Rochard
06/06/2019, 11:11 PMJohn Cantrell
06/07/2019, 1:58 AMAndre Coetzee
06/07/2019, 6:07 AMAndre Coetzee
06/07/2019, 6:09 AMprilutskiy
06/07/2019, 9:29 AM.createSOMETHING({...})
using custom `createdAt`/`updatedAt` values?Grounzero
06/07/2019, 10:26 AM