Skip to content

Commit

Permalink
Support trilogy mysql adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvCW authored and charkost committed Sep 23, 2023
1 parent c12fa9c commit 484a90e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/prosopite.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ def create_notifications
end

def fingerprint(query)
if ActiveRecord::Base.connection.adapter_name.downcase.include?('mysql')
db_adapter = ActiveRecord::Base.connection.adapter_name.downcase
if db_adapter.include?('mysql') || db_adapter.include?('trilogy')
mysql_fingerprint(query)
else
begin
Expand Down

0 comments on commit 484a90e

Please sign in to comment.