lucia
lucia copied to clipboard
Authentication, simple and clean
PR related to https://github.com/lucia-auth/lucia/issues/1666
### Package lucia ### Describe the bug I am migrating from SQLite to Postgres, using Drizzle. When I use the same table structure I get an error in Lucia: ```...
### Package @lucia-auth/session-drizzle ### Describe the bug When I try to use the `generatedAlwaysAsIdentity()` function on the `id` column from users, TypeScript presents the following type compatibility error ``` The...
Fixes #1628 Quite a simple thing to support, simply checks if Drizzle already returned a date for us and if so it skips the conversion. I've tested this in an...
### Package @lucia-auth/session-drizzle ### Description It is quite common to want to use the [`timestamp` mode](https://orm.drizzle.team/docs/column-types/sqlite#integer) for an integer column containing a timestamp/date when using Drizzle for SQLite. This means...