stumpykilo
stumpykilo
DTDrizzle Team
Created by Senna on 5/3/2024 in #help
Problem with generating migrations
Are you exporting all of your schema files with an index.ts like this? export * from "./user";
6 replies
DTDrizzle Team
Created by Senna on 5/3/2024 in #help
Problem with generating migrations
I have multiple schema files as well and my imports from other schema files look like this: import { user } from "./user";
6 replies
DTDrizzle Team
Created by Senna on 5/3/2024 in #help
Problem with generating migrations
Does your config look like Example 3 from this page? https://orm.drizzle.team/kit-docs/conf#schema-files-paths If so you may want to consider adding an index.ts in your schema folder that exports all of your schemas. After that you should be able import like this: import { users, } from "@/drizzle/schema";
6 replies
DTDrizzle Team
Created by stumpykilo on 3/19/2024 in #help
How do I create a postgres enum for a different schema?
just found the issue that was created a few hours ago and is on the TODO board. yay! https://github.com/drizzle-team/drizzle-orm/issues/2042
2 replies
DTDrizzle Team
Created by I am a Dev on 10/3/2023 in #help
Drizzle support SELECT FOR UPDATE of postgres to avoid logical race conditions ?
this fixed the issue for me too. i could not get Drizzle to work with Client, only Pool works for me. thank you @Fayssal!
23 replies
TTCTheo's Typesafe Cult
Created by frenetic.ts on 4/16/2023 in #questions
Webhooks (localhost) in Clerk fails for the most part
this is an awesome tool, thank you! how does one generate the required svix headers that clerk requires? i'm getting message like "No matching signature found" and "timestamp too new"
14 replies
TTCTheo's Typesafe Cult
Created by SharpieMaster on 9/25/2023 in #questions
t3 app router when?
very interested to hear more about those
24 replies
TTCTheo's Typesafe Cult
Created by SharpieMaster on 9/25/2023 in #questions
t3 app router when?
i believe this is what you were referring to?? https://next-auth.js.org/configuration/callbacks#redirect-callback
24 replies
TTCTheo's Typesafe Cult
Created by SharpieMaster on 9/25/2023 in #questions
t3 app router when?
i appreciate the simplicity of your response but would you mind sharing which docs and possibly providing a link?
24 replies
TTCTheo's Typesafe Cult
Created by SharpieMaster on 9/25/2023 in #questions
t3 app router when?
when i use this to create with all the things (including tRPC, NextAuth.js, and Prisma with the app router) after i login via the Discord provider callback it routes to /profile. i don't get that when i use the stable version. any ideas?
24 replies