You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Joins("JOIN audit_plans_v2 apv ON sql_manage_records.source_id = apv.instance_audit_plan_id AND sql_manage_records.source = apv.type AND apv.deleted_at IS NULL").
795
+
Joins("JOIN audit_plans_v2 apv ON sql_manage_records.source_id = CONCAT(apv.instance_audit_plan_id, '') AND sql_manage_records.source = apv.type AND apv.deleted_at IS NULL").
796
796
Joins("JOIN sql_manage_record_processes smrp ON sql_manage_records.id =smrp.sql_manage_record_id").
797
797
Where("sql_manage_records.updated_at > smrp.last_audit_time OR smrp.last_audit_time IS NULL").
0 commit comments