philbookst
Explore posts from serversCDCloudflare Developers
•Created by philbookst on 5/3/2024 in #pages-help
Production branch deploys are being skipped after retrying a deployment manually
Hey I recently had to retry a deploy manually, since then all pushes to my repo are being skipped by my pages build pipeline. It gives me a warning that I need to change my build settings, but everything looks good there. What do I need to do to re-enable it?
Thanks!
1 replies
DTDrizzle Team
•Created by philbookst on 12/20/2023 in #help
push:sqlite error _old_push table with turso
is there any known workaround for this issue:
https://github.com/drizzle-team/drizzle-orm/issues/1313
adding a column to a table and calling db:push gives a 500 error due to a _oldpushtablename being created causing some issues
6 replies
CDCloudflare Developers
•Created by philbookst on 6/26/2023 in #pages-help
Issue re-adding deleted custom domain
I've tried adding a custom domain again after deleting it and i got the following error:
Any idea on how to fix this? I've checked the custom domains panel and the domain is not listed there
3 replies
DTDrizzle Team
•Created by philbookst on 6/7/2023 in #help
Query/select statement of column via sql`` for extras field
is it possible to make a normal select to another table inside a extras object in a relational query?
i'm trying to do something like this:
i'm getting a
syntax error at position 2270 near 'SELECT'
is this possible or should i just add the necessary relation and query it on the same level as the user object?2 replies
DTDrizzle Team
•Created by philbookst on 6/2/2023 in #help
Problem with infering json type in zod schema
When using the following table/schema:
Am I doing something wrong? How can I pick the value key with correct types from the schema?
3 replies
DTDrizzle Team
•Created by philbookst on 5/30/2023 in #help
Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020
Hey I just upgraded to the v^0.26.2 and I get the following error:
this breaks my local development and (sveltekit) build as well
2 replies
CDCloudflare Developers
•Created by philbookst on 5/18/2023 in #pages-help
Error 522 when trying to setup a vanity domain via cf for saas
Hey I'm trying to setup vanity domains for my pages project, so that customers can use their own domain instead of a subdomain of my domain.
I've added a custom domain in the SSL cf for saas panel (screenshot) but accessing this domain gives me a 522 error.
How can I fix this? I've added the CNAME on the vanity domain to point to my fallback origin configured in the cf for saas panel
11 replies
CDCloudflare Developers
•Created by philbookst on 5/17/2023 in #general-help
CF for saas hostname _acme-challenge not validating
Hey I'm trying to setup custom vanity domains for my pages project but the they are stuck in a pending validation state.
I've tried with 2 domains, validating the _acme-challenge record fails, but the _cf-custom-hostname record succeeds.
2 replies
DTDrizzle Team
•Created by philbookst on 5/11/2023 in #help
uuid missing in drizzle-orm/mysql-core?
There is a uuid method in the drizzle-orm/pg-core package, but none in the mysql-core package. What is the reason behind this? What should we use instead to generate uuids automatically?
12 replies
DTDrizzle Team
•Created by philbookst on 5/11/2023 in #help
DatabaseError: Duplicate column name 'id'
hey guys, i have a problem in my query but cannot figure out what is causing it.
any idea what's going on?
5 replies
DTDrizzle Team
•Created by philbookst on 5/11/2023 in #help
Need help transform a nested prisma query to drizzle
Hey I'm trying to translate the following prisma query to drizzle:
closest i've come to is this:
but when trying to move the settings object into the course object as it is in the prisma query I get an error
Object literal may only specify known properties, and 'hostAlias' does not exist in type 'SQL<unknown> | Aliased<unknown> | AnyMySqlColumn<{}>'
is there any way to get the same result with drizzle? thank you very much for your help! drizzle is awesome!4 replies
CDCloudflare Developers
•Created by philbookst on 2/16/2023 in #workers-help
How to create a trigger only for a specific environment?
I've tried deploying my wrangler.toml like this:
but it also deploys the trigger for my
staging
environment.
Thanks for your help!3 replies