Critical fixes:
- Update APP_DB_VERSION to 234 to trigger migration (was 233)
* Without this, the migration would never run
* Migration is now correctly applied on server start
Documentation improvements in MULTI_USER.md:
- Clarify use of user_data table (OAuth v229) vs user_info (MFA)
- Explain why users are NOT Becca entities:
* Auth data should never be synced for security
* Becca is for synchronized content only
* Each instance needs isolated user databases
- Document future sync support requirements
- Add note about migration triggering mechanism
This addresses eliandoran's comments on PR #7441:
- Migration not applying due to version mismatch
- Question about user_info vs user_data table
- Concern about Becca entity model integration
- Question about cross-instance synchronization
- Update login flow to support multi-user mode with username field
- Fix session type definitions (userId as number/tmpID)
- Add comprehensive MULTI_USER.md documentation covering:
* Architecture and database schema details
* Setup instructions and API reference
* Security implementation (scrypt parameters)
* Backward compatibility with single-user mode
* Future enhancements and limitations
All components now properly integrate with existing user_data table
from OAuth migration v229. Zero TypeScript errors.