We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b739785 + a618b05 commit ff45a87Copy full SHA for ff45a87
lib/hair_trigger/schema_dumper.rb
@@ -67,7 +67,7 @@ def triggers(stream)
67
def normalize_trigger(name, definition, type)
68
@adapter_name = @connection.adapter_name.downcase.to_sym
69
70
- return definition unless @adapter_name == :postgresql
+ return definition unless @adapter_name == :postgresql || @adapter_name == :postgis
71
# because postgres does not preserve the original CREATE TRIGGER/
72
# FUNCTION statements, its decompiled reconstruction will not match
73
# ours. we work around it by creating our generated trigger/function,
0 commit comments