This doc is to keep track of changes between the live version and the stateless version so I can seamlessly integrate them back together.
template
->templates
..template_id
->.id
..id
now has aNOT NULL
constraint..name
now has typeTEXT
..max_profile_count
now has aNOT NULL
constraint.- Add
.deleted
. - Add
.context_command_id
.
FIELDTYPE
->field_type
field
->fields
..field_id
->.id
..name
now has typeTEXT
..field_type
now has aNOT NULL
constraint, and defaults to1000-CHAR
.
created_profile
->created_profiles
.- Add
.id
as the new primary key. .name
now has typeTEXT
.- Add
.draft
. - Add
.deleted
. - Remove the previous primary key, and instead make it into a
UNIQUE
constraint.
filled_field
->filled_fields
.- Remove
.user_id
and.name
. - Add
.profile_id
. .value
now has typeTEXT
.