migrated to PostgreSQL and security issues