fixed sqlite gem to pg