You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is quite common to want to use the timestamp mode for an integer column containing a timestamp/date when using Drizzle for SQLite. This means Drizzle will convert to and from Date in that column automatically.
Currently the Drizzle adapter does a integer > Date conversion and so it expects a number returned from Drizzle, thus it does not support this mode.
Adding support for this mode is of course not necessary but means people can keep their schemas uniform and can use the mode for all columns, should they prefer it.
The text was updated successfully, but these errors were encountered:
Package
@lucia-auth/session-drizzle
Description
It is quite common to want to use the
timestamp
mode for an integer column containing a timestamp/date when using Drizzle for SQLite. This means Drizzle will convert to and from Date in that column automatically.Currently the Drizzle adapter does a integer > Date conversion and so it expects a number returned from Drizzle, thus it does not support this mode.
Adding support for this mode is of course not necessary but means people can keep their schemas uniform and can use the mode for all columns, should they prefer it.
The text was updated successfully, but these errors were encountered: