mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
These changes fix compatibility issues with common SQL databases including MySQL, MariaDB and Postgres. * Fixes #147 - datetime now ANSI SQL timestamp * Fixes #160 - AccessToken and RefreshToken type change from varchar to text * Adds Docker Compose files to make it easier to test database integration. TODO: * Update documentation with configuration examples and latest compatibility info * Create DB URI parser (currently only object config works) * Database table/collection name prefix (will default to `next-auth_`) * MongoDB support MongoDB has some issues which mean it will require additional work and refactoring to support (while preserving SQL DB support, which is important). It's going to take some thinking about to get right; MongoDB support might have to be dropped from 2.0 (and follow in a subsequent release) but I'm going to review options and consider the impact before making a call.
2 lines
50 B
JavaScript
2 lines
50 B
JavaScript
module.exports = require('./dist/client').default
|