Reinstate configurable database for SecureSocial.
Remove migration functions.