Secure database migration for electoral data