forked from cartsnitch/cartsnitch
5f1570e6d2
Better-Auth defaults to singular "session" table with camelCase columns, but our DB uses plural "sessions" with snake_case columns (migration 002). Add modelName and field mappings to match the existing pattern for user, account, and verification models. Fixes: 401 on login and 422 on registration. Co-Authored-By: Paperclip <noreply@paperclip.ing>