Mozart's_Ghost
Explore posts from serversDTDrizzle Team
•Created by Mozart's_Ghost on 2/11/2025 in #help
composite primary key migration fail
I am trying to add a composite primary key via a custom migration file. I ran
drizzle-kit --custom --name=recipient-primary-key
to generate a custom migration file. In that file i have the following sql
When I run the migration with drizzle-kit migrate
and then inspect my local sqlite binary I only see a recipients_old
table. It seems only the first statement in the migration file is successful. When I run these commands manually using sqlite3 they work. Not sure how I can go about debugging.1 replies
TTCTheo's Typesafe Cult
•Created by Mozart's_Ghost on 8/31/2024 in #questions
Unexpected useQuery behavior
I am using the t3 stack on a personal project. I have a client component that calls a
useQuery
hook from from ~trpc/react
. I can see in my server logs that the procedure that is called from this use of useQuery
is getting called on some interval. Is this default behavior? Can I configure this somewhere?
Thanks in advance.3 replies