Thread

Migrations, because better auth wants an exported auth object, which is not possible with how bindings with d1 work
2 Replies
Roman
RomanOP3mo ago
@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
toadilywasted
toadilywasted3mo ago
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?

Did you find this page helpful?