changed gemgile for postgres