Update postgres.ts
Update postgres.ts

correcting misused db api methods.

other cases are even weirder:
```js
  /** Deletes an Integration */
  deleteInstallation: (installationID: number) => {
    return db.one("select * from installations where id=$1", [installationID])
  },
```
this doesn't look like a delete at all.
danger/peril,danger/peril,danger/peril,danger/peril,danger/peril