hedgedoc/src
David Mehren d1c3058655 fix(permissions): remove composite primary keys
TypeORM promises to support composite primary keys,
but that does not work in reality.
This replaces the composite key used in the permission entities with
a single generated primary key and
a unique index on the relation columns.

See https://github.com/typeorm/typeorm/issues/8513

Signed-off-by: David Mehren <git@herrmehren.de>
2022-09-18 20:57:52 +02:00
..
api refactor: use integer primary keys 2022-09-18 20:42:26 +02:00
auth Split methods getAuthTokenAndValidate and createTokenForUser 2022-09-18 20:11:51 +02:00
authors refactor(author): lazy-load relations 2021-11-16 18:45:40 +01:00
config feat: persist notes on realtime note unload and on interval 2022-08-07 22:45:25 +02:00
errors fix: correctly initialize exception mapping 2022-02-14 11:28:02 +01:00
frontend-config feat: persist notes on realtime note unload and on interval 2022-08-07 22:45:25 +02:00
groups refactor: adapt for typeorm 0.3 2022-06-12 20:09:07 +02:00
history feat: add base implementation for realtime communication 2022-07-10 19:46:03 +02:00
identity refactor: adapt for typeorm 0.3 2022-06-12 20:09:07 +02:00
logger feat: add logging for typeorm 2022-05-01 20:49:09 +02:00
media refactor(media-upload): explicitly use public note ID 2022-09-18 20:42:26 +02:00
monitoring refactor: use a base dto class 2022-02-20 20:56:09 +01:00
notes fix(permissions): remove composite primary keys 2022-09-18 20:57:52 +02:00
permissions fix(permissions): remove composite primary keys 2022-09-18 20:57:52 +02:00
realtime refactor: use integer primary keys 2022-09-18 20:42:26 +02:00
revisions refactor: use integer primary keys 2022-09-18 20:42:26 +02:00
session refactor(test): fix linting errors 2022-08-29 02:47:12 +02:00
users refactor: use integer primary keys 2022-09-18 20:42:26 +02:00
utils feat: add base implementation for realtime communication 2022-07-10 19:46:03 +02:00
app-init.ts tests(test-setup): ensure shutdown hooks get run 2022-08-07 22:45:25 +02:00
app.module.ts feat: add base implementation for realtime communication 2022-07-10 19:46:03 +02:00
main.ts tests(test-setup): ensure shutdown hooks get run 2022-08-07 22:45:25 +02:00
seed.ts feat: add base implementation for realtime communication 2022-07-10 19:46:03 +02:00