DRY up the two database adaptors
Merge pull request #8 from matthewrudy/dry-up-the-adaptors

DRY up the two database adaptors