What + Why
Focus area data data needs to be stored in database tables.
Details
This ticket is to update and create the DB tables themselves
- community_requests_focus_areas:
- crfa_page (int) FK to page.page_id for the base untranslated page
- crfa_status (int) ID of a status as stored in the code (i.e. not a FK)
- crfa_vote_count (int)
- community_requests_focus_area_translations:
- crfat_id (int) PK
- crfat_fa_id (int) FK to community_requests_focus_areas.crfa_id
- crfat_lang (text) The lang code of the text in this row
- crfat_is_base_lang (bool) Whether this lang is the original untranslated one
- crfat_title (text)
- crfat_description (text) This corresponds to the short_description of the Community_Wishlist/Focus_area template.
See T387957 for the equivalent task for the wishes' DB structure.
- Tipps for QA: