Open briri opened 8 months ago
Define what information we need to store for templates
Build the templates table in RDS and the corresponding scaffolding (Model, Controller, Policy).
templates
Build the templates_questions FKey table
templates_questions
Build the template_overlays table
template_overlays
Templates should have a family_id and be versional (use a model concern for this)
family_id
Create the default template(s).
Define how we will handle conditional logic here.
A Template Overlay is a series of additional tags/questions an Org can create for a template.
When fetching a Template that has Overlays, the Rails app should be able to fetch the published Template and then simply merge the Overlay.
Refer to the Define Data Model ticket on the dmsp_aws_prototype repo.
Build RSpec tests!
Define what information we need to store for templates
Build the
templates
table in RDS and the corresponding scaffolding (Model, Controller, Policy).Build the
templates_questions
FKey tableBuild the
template_overlays
tableTemplates should have a
family_id
and be versional (use a model concern for this)Create the default template(s).
Define how we will handle conditional logic here.
A Template Overlay is a series of additional tags/questions an Org can create for a template.
When fetching a Template that has Overlays, the Rails app should be able to fetch the published Template and then simply merge the Overlay.
Refer to the Define Data Model ticket on the dmsp_aws_prototype repo.
Build RSpec tests!