Added Error_code table with relations to Error_log