support sql-based storage adapters: postgres, mysql, generic sql