Pipriles
Explore posts from serversServer middlewares issue
Hello everybody, I have a doubt regarding how server middlewares should work. I have a middleware located in
server/middleware/auth.ts
that throws an error when the users that sends the request is not authenticated... But it turns out that when I load any page that server middleware gets called. I thought those middlewares were only called on the api/server layer and didn't affect the nuxt pages initial load?
1 replies
DTDrizzle Team
•Created by Pipriles on 7/11/2023 in #help
Use a different schema on postgres
Hello, I am currently trying to define a table with drizzle like this:
But this table is not on the public schema on postgres, is there a way to change the schema so that the generated code will be "sandbox.rollup_account_responses_daily" ?
Thanks
2 replies