goofysystem
Explore posts from serversDTDrizzle Team
•Created by goofysystem on 10/12/2024 in #help
Orphaned Children tables after a successful migration
1 replies
DTDrizzle Team
•Created by goofysystem on 10/12/2024 in #help
Orphaned children tables after a successful migration
I was able to bypass sqlite constraint error by using PRAGMA foreign_keys option but it left my database in a corrupted state where children tables of
ticket_order
are referring to the temporary and now deleted ticket_order_old
table
1 replies
DTDrizzle Team
•Created by goofysystem on 7/28/2024 in #help
Getting SQLITE Constraint error with `foreign_keys off`
All I'm doing is dropping default fields from the tables. I had recently learned about PRAGMA foreign_key=off thing and had previously been manually moving over children tables every migration 💀 . But this non-cursed way seems to not work as expected as I'm running into foreign key constraint check. Any help would be greatly appreciated. Below is the generated sql file and I'm using Turso.
4 replies
CDCloudflare Developers
•Created by goofysystem on 3/17/2024 in #pages-help
Typesense search breaks the app when refreshing the page.
2 replies
DTDrizzle Team
•Created by goofysystem on 3/5/2024 in #help
Error performing migration: LibsqlError: SQLITE_UNKNOWN: SQLite error: cannot rollback
I've already tried downgrading to drizzle kit v0.19 as advised in https://discord.com/channels/933071162680958986/933071163184283651/1204583958679912488
Migration works locally with sqld instance but fails when run against the remote turso database.
1 replies
DTDrizzle Team
•Created by goofysystem on 1/13/2024 in #help
How to fetch with multiple ids
This query gives me:
Hows everyone fetching with multiple ids?
8 replies
CDCloudflare Developers
•Created by goofysystem on 10/12/2023 in #pages-help
Sveltekit + Lucia: Error: The script will never generate a response.
2 replies
CDCloudflare Developers
•Created by goofysystem on 9/13/2023 in #workers-help
403 Error using Turso in local development when running wrangler dev with `--remote` flag
You only get this error when running wrangler dev with --remote flag.
Here's a repo that demonstrates this:
https://github.com/zestsystem/cloudflare-worker-turso/tree/main
3 replies
CDCloudflare Developers
•Created by goofysystem on 8/24/2023 in #pages-help
@sveltejs/adapter-cloudflare problem in a monorepo
I have a local workspace package that I import into my sveltekit project. Lets say this package has kysely and @libsql/kysely as its dependencies. Consuming this package results in a build failure like this:
Now if I pnpm install the dependencies of the workspace package directly to the sveltekit project, so in this case kysely and @libsql/kysely, the build is successful. This means that whenever sveltekit consumes a package, I would need to make sure that sveltekit has its dependencies explicitly installed as well.
I have confirmed this with a package that uses @aws-sdk as well. Build fails when @aws-sdk is not directly installed to sveltekit, works when it is installed.
3 replies