goofysystem
Explore posts from serversDTDrizzle 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.
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