sql adapter for authr