LeMonsalve
LeMonsalve
Explore posts from servers
BABetter Auth
Created by LeMonsalve on 3/11/2025 in #help
ERROR: User schema updatedAt - Drizzle | Postgres
Helloo! When i add $onUpdate method to my users schema in drizzle pg, i cant to perform any action and i get the following error:
updatedAt: timestamp("updated_at")
.notNull()
.$onUpdate(() => sql`CURRENT_TIMESTAMP`) // this line make conflicts
updatedAt: timestamp("updated_at")
.notNull()
.$onUpdate(() => sql`CURRENT_TIMESTAMP`) // this line make conflicts
# SERVER_ERROR: TypeError: value.toISOString is not a function
at Array.map (<anonymous>)
at Array.map (<anonymous>)
at Array.map (<anonymous>)
POST /api/auth/admin/set-role 500
# SERVER_ERROR: TypeError: value.toISOString is not a function
at Array.map (<anonymous>)
at Array.map (<anonymous>)
at Array.map (<anonymous>)
POST /api/auth/admin/set-role 500
help please!
2 replies
BABetter Auth
Created by LeMonsalve on 3/7/2025 in #help
authClient generates error
No description
3 replies
CC#
Created by LeMonsalve on 3/20/2024 in #help
✅ I need to create methods dynamically
No description
2 replies
CC#
Created by LeMonsalve on 4/12/2023 in #help
❔ Error passing builder.Configuration as argument - .net 7
3 replies