Datamapper adapters for sqlite and postgres