dmb
DTDrizzle Team
•Created by dmb on 4/9/2025 in #help
Running into URL constructor issues when combined with Auth0's NextJS package
Hey all;
I'm currently running into some really annoying issues when trying to insert a user into my database once they have been authenticated by Auth0.
I'm attempting to do this in the
beforeSessionSaved
handler within the Auth0Client
. I've opened a ticket for them to take a look at but I wondered if there's anything I can do on the Drizzle side?
The error I'm seeing is "TypeError: URL is not a constructor" and this only happens when using Drizzle from within the callback.
Here's my example code:
Is there another method how I can connect to a MySQL database that doesn't rely on the URL global object?
Thanks in advance1 replies
DTDrizzle Team
•Created by dmb on 7/11/2024 in #help
Unable to rename table
I'm attempting to rename
ironclad_account_kills
to ironclad_account_npc
but I'm unable to.
What might be causing this?
4 replies
DTDrizzle Team
•Created by dmb on 4/26/2024 in #help
Converting a field from X type to Serial causes errors
I'm attempting to convert a field from type
text
to type serial
.
Here's the error I'm seeing:
Here's the SQL generated:
I believe serial
to simply be an integer
datatype under the hood. So should this in fact be:
Any thoughts?1 replies