Table p_consent_history_permission
Description:
The history of consent for personal data
PRIMARY KEY
p_consent_history_entry_i
bigint default: 0 NOT NULL
ID for entrys p_consent_history
p_purpose_code_c
varchar (40) NOT NULL
Code for purpose p_consent_purpose

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_consent_history_permission_fk1: p_consent_history_entry_i => p_consent_history
p_consent_history_permission_fk2: p_purpose_code_c => p_consent_purpose
p_consent_history_permission_fkcr: s_created_by_c => s_user
p_consent_history_permission_fkmd: s_modified_by_c => s_user