@serveit-ca We need to add functionality for when a user deletes a program. A function "recordUserDeletion($userId, $programId)" has been created, this function checks to see if that program exists for that user in the cura_user_programs table, and if so ads a row to the cura_deleted table, which also needs created on staging and production table structure as follows:
id int(11) PRIMARY KEY AUTO_INCREMENT;
user_id int(11);
program_id int(11);
**OPTIONAL Deleted on timestamp column.
@serveit-ca We need to add functionality for when a user deletes a program. A function "recordUserDeletion($userId, $programId)" has been created, this function checks to see if that program exists for that user in the cura_user_programs table, and if so ads a row to the cura_deleted table, which also needs created on staging and production table structure as follows:
id int(11) PRIMARY KEY AUTO_INCREMENT; user_id int(11); program_id int(11); **OPTIONAL Deleted on timestamp column.