Enhance PostgreSQL support: revoke all permissions on application deletion