Ricardo Romero
Explore posts from serversDTDrizzle Team
•Created by Ricardo Romero on 5/15/2024 in #help
Bigint in SQLite results in "TypeError: Do Not Know how to serialize a BigInt"
Anyone know of a suggested workaround? I'll probably end up saving it as string and doing the conversion manually
6 replies
DTDrizzle Team
•Created by Ricardo Romero on 5/15/2024 in #help
Bigint in SQLite results in "TypeError: Do Not Know how to serialize a BigInt"
I'm using bun as a package manager and sveltekit as a framework
6 replies
DTDrizzle Team
•Created by Ricardo Romero on 5/15/2024 in #help
Bigint in SQLite results in "TypeError: Do Not Know how to serialize a BigInt"
I've also tried the
0n
notation and it fails with the same error.6 replies
DTDrizzle Team
•Created by Bob Yexley on 3/7/2024 in #help
TypeError: Do not know how to serialize a BigInt
I'm having the same issue, except I'm using SQLite. Did you ever manage to find a solution?
2 replies
DTDrizzle Team
•Created by CS on 3/24/2024 in #help
What am I doing wrong with migrations?
Maybe it's a case of implicit dependency?
19 replies
DTDrizzle Team
•Created by CS on 3/24/2024 in #help
What am I doing wrong with migrations?
What package manager are you using?
19 replies
DTDrizzle Team
•Created by Ricardo Romero on 3/25/2024 in #help
How to use vercel postgres in localhost?
I've searched quite a bit around. The only other people I have found online talking about using drizzle and vercel-postgres together recommend checking the current environment and selecting a different database driver depending on that.
I'm honestly bummed out by this. I don't think it's a good idea to use different database drivers in development and production. I'm using postgresjs for local development for the time being, but I'm already looking into using something other than vercel-postgres. The main reason is that I think it's going to be hell to debug if any behavior is different between postgres and vercel-postgres drivers.
Hope this helps someone that stumbles into the same issue later.
5 replies
DTDrizzle Team
•Created by CS on 3/24/2024 in #help
What am I doing wrong with migrations?
I also just run migrations manually. I have a migrate.ts script and run it with bun.
19 replies
DTDrizzle Team
•Created by Ricardo Romero on 3/25/2024 in #help
How to use vercel postgres in localhost?
The linked docs only tell me how to configure a
neon
database, which I know is the technology vercel is using. Sadly, the API neon seems to suggest using in the linked docs doesn't seem to exist for the vercel postgres package5 replies
DTDrizzle Team
•Created by Ricardo Romero on 3/25/2024 in #help
How to use vercel postgres in localhost?
5 replies
DTDrizzle Team
•Created by Ricardo Romero on 3/25/2024 in #help
How to use vercel postgres in localhost?
The crash is ocurring on page load, when I load a page that will try to run
getUserWithApiKeys
server-side. Here's the error I'm getting:5 replies