| I'm admittedly not at all familiar with typeorm (not really great at Node either for that matter), but a few questions: What kind of testing have you done on app/DB performance under heavy load? Why are you indexing nearly the same thing thing twice in the AppConnection table? [0] What kind of column is your pkey, as defined in BaseEntity? [1] It says String, but AFAIK that's not a Postgres type. Excited to see more work in this space! Disclaimer: I'm a DBRE at Zapier. [0]: https://github.com/activepieces/activepieces/blob/main/packa... [1]: https://github.com/activepieces/activepieces/blob/main/packa... |
You are correct, repeating the same index twice is a mistake. Thanks for hinting at that
We are using nano id (https://www.npmjs.com/package/nanoid) for all entities, It's stored as varchar in the database.