Reverted initial work for supporting different database engines, need to find a proper way.
Updated gem info.