Jacob
DTDrizzle Team
•Created by Jacob on 10/17/2024 in #help
Drizzle/better-auth + Local PSQL
Thanks Darren 😄
30 replies
DTDrizzle Team
•Created by Jacob on 10/17/2024 in #help
Drizzle/better-auth + Local PSQL
Okej then
30 replies
DTDrizzle Team
•Created by Jacob on 10/17/2024 in #help
Drizzle/better-auth + Local PSQL
Basically what your saying is that my
index.ts
file should be passed into my drizzle.config.ts
file right?30 replies
DTDrizzle Team
•Created by Jacob on 10/17/2024 in #help
Drizzle/better-auth + Local PSQL
So where can I find more info about how to do that exactly because I mostly just copied over code from the docs. I now need to understand exactly how it works
30 replies
DTDrizzle Team
•Created by Jacob on 10/17/2024 in #help
Drizzle/better-auth + Local PSQL
What does that mean exactly.
30 replies
DTDrizzle Team
•Created by Jacob on 10/17/2024 in #help
Drizzle/better-auth + Local PSQL
Oh yeah. As I said earlier it does generate that directory
30 replies
DTDrizzle Team
•Created by Jacob on 10/17/2024 in #help
Drizzle/better-auth + Local PSQL
Do you mean inside pgadmin itself?
30 replies
DTDrizzle Team
•Created by Jacob on 10/17/2024 in #help
Drizzle/better-auth + Local PSQL
I bascially took what ever was in the
auth-schema.ts
and and placed it inside of the schema.ts
file. I don't really use the other file. It's only usecase was to generate the info shown above.
Yes I did run those commands and when I run the npx drizzle-kit generate
it says No schema changes, nothing to migrate because I have already ran it before. This only changes in case I delete the drizzle
directory inside of my project.30 replies
DTDrizzle Team
•Created by Jacob on 10/17/2024 in #help
Drizzle/better-auth + Local PSQL
From this point on I sort of move into the better-auth installation part of their docs and do the steps that are. I run the command of
npx @better-auth/cli generate
which gives me the back a auth-schema.ts
file. That sort of looks like this
I then try to run this npx drizzle-kit migrate
to migrate things over and I get this error.
30 replies