Skip to content

Commit

Permalink
trigger schema modifcation
Browse files Browse the repository at this point in the history
  • Loading branch information
agultekin committed Jan 13, 2025
1 parent a73d38a commit a236333
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/fix_db_schema_conflicts/schema_dumper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def triggers(table)
end

def sanitize_trigger_definition(definition)
definition.gsub(/ON\s+(\w+\.)?(\w+\.)?/, 'ON ')
new_definition = definition.gsub(/ON\s+(\w+\.)?(\w+\.)?/, 'ON ')
new_definition.gsub!(/\bwizville\./, 'public.')
new_definition
end

def fts_configurations
Expand Down

0 comments on commit a236333

Please sign in to comment.