Files
redux-scraper/backlog/tasks/task-94 - Update-FA-user-post-fav-foreign-key-to-reference-domain_users_fa_aux-table.md
2025-08-20 22:13:51 +00:00

972 B

id, title, status, assignee, created_date, labels, dependencies
id title status assignee created_date labels dependencies
task-94 Update FA user-post-fav foreign key to reference domain_users_fa_aux table To Do
2025-08-20 22:13

Description

Change the foreign key constraint on domain_user_post_favs_fa.user_id from pointing to domain_users table to domain_users_fa_aux.base_table_id to properly reference the auxiliary table used for FA users. This ensures referential integrity aligns with the FA-specific user data structure and follows the auxiliary table pattern used throughout the application.

Acceptance Criteria

  • #1 Foreign key constraint on domain_user_post_favs_fa.user_id points to domain_users_fa_aux.base_table_id instead of domain_users.id,Migration includes proper rollback functionality,All existing data relationships remain intact after migration,Tests verify foreign key constraint works correctly,No data is lost during the migration process