gristlabs_grist-core/app/gen-server/entity
Paul Fitzpatrick d7b3fb972c (core) upgrade typeorm so we can support newer postgres
Summary:
upgrade typeorm version, so Grist can run against newer versions of postgres.

Dusted off some old benchmarking code to verify that important queries don't get slower. They don't appear to, unlike for some intermediate versions of typeorm I tried in the past.

Most of the changes are because `findOne` changed how it interprets its arguments, and the value it returns when nothing is found. For the return value, I stuck with limiting its impact by emulating old behavior (returning undefined rather than null) rather than propagating the change out to parts of the code unrelated to the database.

Test Plan: existing tests pass; manual testing with postgres 10 and 14

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3613
2022-09-02 15:34:21 -04:00
..
AclRule.ts (core) upgrade typeorm so we can support newer postgres 2022-09-02 15:34:21 -04:00
Activation.ts (core) add minimal support for activation keys 2022-05-16 22:46:23 -04:00
Alias.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
BillingAccount.ts (core) add appsumo endpoints with stub implementations 2021-06-21 16:04:33 -04:00
BillingAccountManager.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
Document.ts (core) Add API endpoint to get site usage summary 2022-05-16 11:16:19 -07:00
Group.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
Login.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
Organization.ts (core) add per-user per-org preferences to database 2020-08-04 15:20:13 -04:00
Pref.ts (core) add per-user per-org preferences to database 2020-08-04 15:20:13 -04:00
Product.ts (core) Removing NEW_DEAL flag 2022-08-09 17:29:28 +02:00
Resource.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
Secret.ts (core) Initial webhooks implementation 2021-09-23 14:35:39 +02:00
User.ts (core) Adding GristConnect login system 2022-05-18 20:28:25 +02:00
Workspace.ts (core) move home server into core 2020-07-21 20:39:10 -04:00