Create task task-94

This commit is contained in:
Dylan Knutson
2025-08-20 22:13:51 +00:00
parent 8bd6c4b2ae
commit 9e0e8a8d3c

View File

@@ -0,0 +1,18 @@
---
id: task-94
title: Update FA user-post-fav foreign key to reference domain_users_fa_aux table
status: To Do
assignee: []
created_date: '2025-08-20 22:13'
labels: []
dependencies: []
---
## 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
<!-- AC:BEGIN -->
- [ ] #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
<!-- AC:END -->