Rename sponsor_partner
to affiliate
#52
Labels
Feature: DB Design
Feature: update table
p-feature: sponsor/partner
question
Further information is requested
role: db architect
s: org
s: PD team
size: 2pt
Overview
We should rename the
sponsor_partner
table to something likeaffiliate
. And theproject_sponsor_partner_xref
table toaffiliation
or similar. This would simplify and clarify the ideas behind these tables.Also more clear would be converting the
project_sponsor_partner_xref.is_sponsor
field totype
. See discussion below.Action Items
ERD, spreadsheet, code changes for each of these
sponsor_partner
toaffiliate
project_sponsor_partner_xref
toaffiliation
. Made part of [docs] Document github actions #65is_sponsor
field name totype
and make it a choice or enum. Made part of [docs] Document github actions #65Resources/Instructions
Proposed Changes
project_sponsor_partner_xref
table toaffiliation
or a more appropriate descriptive term for the relationship.sponsor_partner
table toaffiliate
.is_sponsor
is a choice like choose between sponsor or partner, and call ittype
What the changes give us
Mostly simpler naming for these concepts.
Clearer code when working with the relationship and model.
Example to create a project-affiliate relation
The current way would look like this
Originally posted by @fyliu in hackforla#270 (comment)
The text was updated successfully, but these errors were encountered: