Create a new model in PlatformApi for the knowledge equity response.
Rational for creating a new model over putting it in the exiting WikiProfile model:
+ Data has different levels of access controls + We (potentially) want separate edit timestamps for this compared to the rest of the profile + Logically easier to reason about - Anton will have to do a JOIN when querying the database - In hindsight we named the current profile incorrectly / it contains to many different concerns under the same name
Database fields on the new model (if any of these change, update T419208)
INT wikiId ENUM selectedOption <one of 'yes' 'no' 'unsure', 'unsaid'> VARCHAR(3000) freeTextResponse
Useful links:
- https://laravel.com/docs/10.x/eloquent#generating-model-classes (use the --migration flag to also create the database migration)