Kapatid
Kapatid
Explore posts from servers
DTDrizzle Team
Created by beneidel on 7/15/2023 in #help
"Cannot parse date or time" using AWS Data API, aurora postgres
Yeah I thought about the consequences of removing withTimezone too. Currently I am trying to find a solution in which I don't remove the withTimezone.
17 replies
DTDrizzle Team
Created by beneidel on 7/15/2023 in #help
"Cannot parse date or time" using AWS Data API, aurora postgres
export const sessionTable = pgTable("session", {
id: text("id").primaryKey(),
userId: text("user_id")
.notNull()
.references(() => userTable.id),
expiresAt: timestamp("expires_at", {
mode: "date"
}).notNull()
})
export const sessionTable = pgTable("session", {
id: text("id").primaryKey(),
userId: text("user_id")
.notNull()
.references(() => userTable.id),
expiresAt: timestamp("expires_at", {
mode: "date"
}).notNull()
})
I removed the withTimezone property in my timestamp and now everything works and I encountered this problem when trying to use Nextjs + Drizzle + Lucia Auth.
// package.json
"lucia": "^3.0.1",
"drizzle-orm": "^0.29.4",
"@lucia-auth/adapter-drizzle": "^1.0.2"
// package.json
"lucia": "^3.0.1",
"drizzle-orm": "^0.29.4",
"@lucia-auth/adapter-drizzle": "^1.0.2"
17 replies
DTDrizzle Team
Created by Kapatid on 2/16/2024 in #help
AWS Data API 'PROFILE'
Thanks for the reply! I thought that it was a required thing when using the RDSDataClient.
4 replies