tcurdt
Explore posts from serversDTDrizzle Team
•Created by tcurdt on 5/29/2024 in #help
schema validation enforcement
The above schema is nice and well - but how can I enforce that
email
actually only allows to store strings that are emails?
So I looked at drizzle-zod
but it looks like I would have to define the schema twice?
There is no way to attach this to the table schema itself?
What about using postgres constraints?
https://www.postgresql.org/docs/current/ddl-constraints.html1 replies
CDCloudflare Developers
•Created by tcurdt on 2/27/2024 in #pages-help
Cloudflare pages very slow
Cloudflare has become very(!) slow for me.
Before I was just proxying my VPS.
To remove this from the equation I moved the site(s) directly to Cloudflare pages.
Unfortunately this did not help much.
Sometimes I am still looking at only 40-100Kbytes/sec for some images.
It takes so long that Lighthouse times out.
I tried from various locations.
What is going on?
How can I track down this down?
7 replies
DTDrizzle Team
•Created by tcurdt on 7/19/2023 in #help
accessing results of a select
I am confused. Based on this docs https://orm.drizzle.team/docs/crud this here
todos
should be an array of objects. But it seems to be
What am I missing?9 replies