catalog_intensity_keys


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id VARCHAR 36 null
service_plan_maladaptive_behaviors.intensity_key_id fk_sp_maladaptive_behaviors_intensity R
sp_maladaptive_behavior_intensity_assignments.intensity_key_id sp_maladaptive_behavior_intensity_assignments_ibfk_2 R
location_business_line_id VARCHAR 36 null
location_business_lines.id fk_catalog_intensity_keys_location R
level INT 10 null
name VARCHAR 100 null
description TEXT 65535 √ null
color VARCHAR 20 √ null
display_order INT 10 0
is_active BIT 1 1
created_at TIMESTAMP 19 √ CURRENT_TIMESTAMP
updated_at TIMESTAMP 19 √ CURRENT_TIMESTAMP
created_by VARCHAR 36 √ null
updated_by VARCHAR 36 √ null
examples TEXT 65535 √ null

Operational definition examples for this intensity level

requires_safety_plan BIT 1 0

Flag indicating this intensity level requires a safety plan (SIB, elopement, aggression)

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_catalog_intensity_keys_location_active Performance Asc/Asc location_business_line_id + is_active
uk_catalog_intensity_keys_location_level Must be unique Asc/Asc location_business_line_id + level

Relationships