| Table p_interest_category | 
| 
Description: Categories for Area of Interest  | 
| PRIMARY KEY | ||
| 
p_category_c
 
varchar (20) NOT NULL  | Unique key for the table | |
| 
p_description_c
 
varchar (100)  | ||
| 
p_level_descriptions_c
 
varchar (512)  | Description of all the interest intensity levels. Leave empty if levels not needed. | |
| 
p_level_range_low_i
 
integer  | ||
| 
p_level_range_high_i
 
integer  | ||
| 
s_date_created_d
 
date default: CURRENT_DATE  | The date the record was created. | |
| 
s_created_by_c
 
varchar (20)  | User ID of who created this record. | s_user | 
| 
s_date_modified_d
 
date  | The date the record was modified. | |
| 
s_modified_by_c
 
varchar (20)  | User ID of who last modified this record. | s_user | 
| 
s_modification_id_t
 
timestamp default: CURRENT_TIMESTAMP  | This identifies the current version of the record. | |
FOREIGN KEY p_interest_category_fkcr: s_created_by_c => s_user p_interest_category_fkmd: s_modified_by_c => s_user  | ||
REFERENCED BY p_interest  | ||