Since log_types is an array, there is no foreign key checking against l_log_type.
We need a trigger that will check all the array elements against l_log_type on insert or update.
Log in to post a comment.