roobr
roobr
Explore posts from servers
PPrisma
Created by Anonymous on 3/28/2024 in #help-and-questions
multiSchema variable
I am trying to do
const authUsers = await prisma.auth.user.findMany()

// Query the user table in the public schema
const publicUsers = await prisma.public.user.findMany()
const authUsers = await prisma.auth.user.findMany()

// Query the user table in the public schema
const publicUsers = await prisma.public.user.findMany()
11 replies
PPrisma
Created by Anonymous on 3/28/2024 in #help-and-questions
multiSchema variable
I am trying to do const authUsers = await prisma.auth.user.findMany() // Query the user table in the public schema const publicUsers = await prisma.public.user.findMany()
11 replies
PPrisma
Created by Anonymous on 3/28/2024 in #help-and-questions
multiSchema variable
Hello, It looks like this is a preview feature but I cant seem to get it working, any pointers? I have enabled it in my prisma.schema but the client wont let me access seperate schemas, it looks like the prisma db pull just renames if there is a clash
11 replies
NNuxt
Created by roobr on 6/2/2024 in #❓・help
Tips to secure your nuxt Application.
This wasnt by me, my routes are login
22 replies
NNuxt
Created by roobr on 6/2/2024 in #❓・help
Tips to secure your nuxt Application.
What do you mean?
22 replies
NNuxt
Created by roobr on 6/2/2024 in #❓・help
Tips to secure your nuxt Application.
Good idea, I will look into this
22 replies
NNuxt
Created by roobr on 6/2/2024 in #❓・help
Tips to secure your nuxt Application.
Yeah, I figured as much. Wasn't sure if there is a common thing I was missing to help protect it
22 replies
NNuxt
Created by roobr on 6/2/2024 in #❓・help
Tips to secure your nuxt Application.
I have tried securing it with WAF But I am getting the following
22 replies
NNuxt
Created by roobr on 6/2/2024 in #❓・help
Tips to secure your nuxt Application.
Thanks for your help!
22 replies
NNuxt
Created by roobr on 6/2/2024 in #❓・help
Tips to secure your nuxt Application.
We are running in azure but I assume it has similar. I will have a look
22 replies
NNuxt
Created by roobr on 6/2/2024 in #❓・help
Tips to secure your nuxt Application.
Thanks for the suggestion
22 replies
NNuxt
Created by roobr on 6/2/2024 in #❓・help
Tips to secure your nuxt Application.
but on the VM I can do some extra ones
22 replies
NNuxt
Created by roobr on 6/2/2024 in #❓・help
Tips to secure your nuxt Application.
What rules specifically? on cloudflare I block all countries but my own
22 replies
NNuxt
Created by roobr on 5/19/2024 in #❓・help
Nuxt 3 Supabase serverSupabaseUser(event) returning NULL
No resolution yet, I have added in some print statements to help see if its cookies or not, I will keep you updated
4 replies
PPrisma
Created by roobr on 5/27/2024 in #help-and-questions
Nuxt 3 - Prisma building production
22 replies
PPrisma
Created by roobr on 5/27/2024 in #help-and-questions
Nuxt 3 - Prisma building production
Definitely a bun related issue, reverted to pnpm and works fine
22 replies
PPrisma
Created by roobr on 5/27/2024 in #help-and-questions
Nuxt 3 - Prisma building production
I have it running on 1.0.18 but now it doesnt panic it just does frontend-1 exited with code 0
22 replies
PPrisma
Created by roobr on 5/27/2024 in #help-and-questions
Nuxt 3 - Prisma building production
actually seems like bun is still the old version there
22 replies
PPrisma
Created by roobr on 5/27/2024 in #help-and-questions
Nuxt 3 - Prisma building production
Unfortunately still crashes
Attaching to frontend-1
frontend-1 | Listening on http://localhost:3000...
frontend-1 | ============================================================
frontend-1 | Bun v1.1.10 (5102a944) Linux x64 (baseline)
frontend-1 | Args: "bun" "run" "/app/output/server/index.mjs"
frontend-1 | Features: jsc Bun.stdin(2) http_server spawn
frontend-1 | Builtins: "bun:main" "node:async_hooks" "node:buffer" "node:child_process" "node:crypto" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:os" "node:path" "node:process" "node:stream" "node:string_decoder" "node:tty" "node:url" "node:util" "node:util/types" "node:zlib" "node:punycode"
frontend-1 | Elapsed: 9248ms | User: 522ms | Sys: 119ms
frontend-1 | RSS: 1.02GB | Peak: 0.15GB | Commit: 1.02GB | Faults: 589
frontend-1 |
frontend-1 | panic(main thread): Segmentation fault at address 0x4A0D0
frontend-1 | oh no: Bun has crashed. This indicates a bug in Bun, not your code.
frontend-1 |
frontend-1 | To send a redacted crash report to Bun's team,
frontend-1 | please file a GitHub issue using the link below:
frontend-1 |
frontend-1 | https://bun.report/1.1.10/Br15102a94AqgghI2/tkjEA2AgtwS
frontend-1 |
frontend-1 exited with code 0
Attaching to frontend-1
frontend-1 | Listening on http://localhost:3000...
frontend-1 | ============================================================
frontend-1 | Bun v1.1.10 (5102a944) Linux x64 (baseline)
frontend-1 | Args: "bun" "run" "/app/output/server/index.mjs"
frontend-1 | Features: jsc Bun.stdin(2) http_server spawn
frontend-1 | Builtins: "bun:main" "node:async_hooks" "node:buffer" "node:child_process" "node:crypto" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:os" "node:path" "node:process" "node:stream" "node:string_decoder" "node:tty" "node:url" "node:util" "node:util/types" "node:zlib" "node:punycode"
frontend-1 | Elapsed: 9248ms | User: 522ms | Sys: 119ms
frontend-1 | RSS: 1.02GB | Peak: 0.15GB | Commit: 1.02GB | Faults: 589
frontend-1 |
frontend-1 | panic(main thread): Segmentation fault at address 0x4A0D0
frontend-1 | oh no: Bun has crashed. This indicates a bug in Bun, not your code.
frontend-1 |
frontend-1 | To send a redacted crash report to Bun's team,
frontend-1 | please file a GitHub issue using the link below:
frontend-1 |
frontend-1 | https://bun.report/1.1.10/Br15102a94AqgghI2/tkjEA2AgtwS
frontend-1 |
frontend-1 exited with code 0
22 replies
PPrisma
Created by roobr on 5/27/2024 in #help-and-questions
Nuxt 3 - Prisma building production
Do you know how to force this?
22 replies