Skip to content
Browse files

Cascade Function uninstallation

  • Loading branch information...
1 parent c819060 commit e2785c026c30771a3ee88e96877d66e6e55b173f Daniel Fox & Dave Goddard committed Sep 27, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/pg_audit_log/function.rb
  2. +1 −1 lib/pg_audit_log/version.rb
View
2 lib/pg_audit_log/function.rb
@@ -125,7 +125,7 @@ def install
end
def uninstall
- execute "DROP FUNCTION #{name}()"
+ execute "DROP FUNCTION IF EXISTS #{name}() CASCADE"
end
def installed?
View
2 lib/pg_audit_log/version.rb
@@ -1,3 +1,3 @@
module PgAuditLog
- VERSION = "0.5.5"
+ VERSION = "0.5.6"
end

0 comments on commit e2785c0

Please sign in to comment.
Something went wrong with that request. Please try again.