manuel
02/24/2021, 9:56 AMmanuel
02/24/2021, 9:56 AMRon Mizrahi
02/24/2021, 10:03 AMRon Mizrahi
02/24/2021, 10:03 AMRon Mizrahi
02/24/2021, 10:03 AM> pii-api@1.0.0 start:nobuild /app
> npm run prisma:migration && npm run prisma:seed && node ./dist/main
> pii-api@1.0.0 prisma:migration /app
> npm run prisma:cli -- migrate deploy --preview-feature
> pii-api@1.0.0 prisma:cli /app
> node ./node_modules/.bin/prisma "migrate" "deploy" "--preview-feature"
Environment variables loaded from .env
Environment variables loaded from prisma/.env
Prisma schema loaded from schema.prisma
Datasource "db": PostgreSQL database "oct_dev", schema "pii" at "<http://pgpool.pg:5432|pgpool.pg:5432>"
1 migration found in prisma/migrations
Error: P1002
The database server at `<http://pgpool.pg|pgpool.pg>`:`5432` was reached but timed out.
Please try again.
Please make sure your database server is running at `<http://pgpool.pg|pgpool.pg>`:`5432`.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
Ron Mizrahi
02/24/2021, 10:04 AMRalf Vogler
02/24/2021, 12:50 PMinclude
only populates immediate children. Is there a recursive include or do I have to build the tree myself? What if I want to order/filter/limit the roots? I want to avoid having to do multiple queries.maxweld
02/24/2021, 1:09 PMRalf Vogler
02/24/2021, 2:38 PMmanuel
02/24/2021, 2:44 PMYeonHoPark
02/24/2021, 3:25 PMJustin Ellingwood
02/24/2021, 5:01 PMEddy Nguyen
02/24/2021, 8:59 PMAbdulrahman Alzahrani
02/24/2021, 9:38 PMthdxr
02/24/2021, 9:42 PMthdxr
02/24/2021, 9:42 PMdatasource db {
url = env("DATABASE_URL")
provider = "postgresql"
}
thdxr
02/24/2021, 9:43 PMthdxr
02/24/2021, 9:43 PMexport const prisma = new PrismaClient({
datasources: {
db: {
url: get_url()
},
},
})
Abdulrahman Alzahrani
02/25/2021, 12:31 AMconst prisma = new PrismaClient({
datasources: {
db: {
url: await get_url(),
},
},
})
tabagan
02/25/2021, 9:46 AMJulien Blatecky
02/25/2021, 11:39 AMLeonard
02/25/2021, 6:55 PMAaron Fulkerson
02/26/2021, 1:35 AMAbdulrahman Alzahrani
02/26/2021, 6:50 AMKenneth Faria
02/26/2021, 8:16 PMKenneth Faria
02/26/2021, 8:16 PMSourav Kumar Nanda
02/26/2021, 9:05 PMNditah Samweld
02/27/2021, 11:00 AMJohn Smeeth
03/01/2021, 1:53 AMCharles Dimino
03/01/2021, 2:49 AM