This commit completes the migration to consolidate the openneo_id database into the main openneo_impress database. Changes: - AuthUser: Changed from AuthRecord to ApplicationRecord - AuthUser: Removed explicit table_name (Rails infers 'auth_users') - AuthUser: Removed all temporary write lock code - AuthUser: Added TODO comment about future table merge opportunity - User: Added TODO comment about simplifying remote_id relationship - AuthRecord: Deleted (no longer needed) - ApplicationController: Removed temporary rescue_from handler - database.yml: Removed openneo_id database configuration entirely - database.yml: Simplified from multi-database (primary:) to single-database structure The application now runs as a single-database Rails app. The auth_users table lives in the main openneo_impress database alongside the users table, with the remote_id relationship preserved. Next steps for production: 1. Deploy Phase 1 (write lock) 2. Run the CopyAuthUsersTableToMainDatabase migration 3. Deploy this commit (Phase 2) 4. Verify everything works 5. Drop the openneo_id database 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| controllers | ||
| helpers | ||
| javascript | ||
| mailers/fundraising | ||
| models | ||
| services | ||
| views | ||