Pass in sql connection on profile service construction.
Set id parameter name to more specific userId.
List column name first in queries.
Set enumerated type names to uppercase.
Answer to be created needs to be associated with the newly created registration id.
Replace ProfileAttribute.Type with simpler ProfileType.
Retire ProfileAttribute altogether.
Add profile_type enum to postgres. Add profile_type column to block table.
Query for new profile type in block query.
Save profile data as text as opposed to json.
This will allow for easier parsing by client systems.
Type cast Enum to Object so sql2o correctly writes postgres enum type.
O/w, sql2o will convert to String.
Register converter with sql2o to convert postgres enum to ProfileType.
Set profile entity directly from registration answers, parsing the provided json into string(s).
Add functional test to add a page with a block to a conference.
This will allow us to test the adding of a block with a profile type.