lucia-auth / lucia

Authentication, simple and clean
https://lucia-auth.com
MIT License
8.42k stars 449 forks source link

Allow userId in session table in sqlite drizzle adapter to be number #1495

Closed yazd closed 3 months ago

yazd commented 3 months ago

This fix allows userId to be a number if UserId is registered as a number when using drizzle sqlite adapter. In drizzle postgres and mysql adapters, the dataType is already any while data is UserId.

pilcrowOnPaper commented 3 months ago

Thanks!