Insert to audit log when ... * action type * CREATE * UPDATE * DELETE * action target * USER * user_id, username * NOTE * note_id, title, user_id, username * SHARED_NOTE * shared_note_id, user_id, username, note_id, title, expire_dt * COMMENT * comment_id, user_id, username, content[10], note_id, title
Insert to audit log when ...