Thread
Migrations, because better auth wants an exported auth object, which is not possible with how bindings with d1 work
2 Replies
@bekacru then suggested to do this
But then I had this problem, which is probably a problem with kysely-d1
So I’m gonna try with drizzle again today
What if you had a package.json command that runs the db generation and one for the migration and just ran it at build time?
With SQLITE_AUTH -- are you running locally against production bindings?
Just trying to understand your setup
Whats your auth.ts look like?