Permalink
Browse files

Cascade Function uninstallation

  • Loading branch information...
Daniel Fox & Dave Goddard
Daniel Fox & Dave Goddard committed Sep 27, 2012
1 parent c819060 commit e2785c026c30771a3ee88e96877d66e6e55b173f
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
@@ -125,7 +125,7 @@ def install
end
def uninstall
- execute "DROP FUNCTION #{name}()"
+ execute "DROP FUNCTION IF EXISTS #{name}() CASCADE"
end
def installed?
@@ -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.