From 0d502e7045cf51ee8140873c40178eccbd23d4ee Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Mon, 6 May 2024 13:17:23 -0700 Subject: [PATCH] feat(databases): allow multiple 1 way relationships btwn collections Because two way key is not exposed or sent, the API defaults to the related collection's ID as the two way key. As such, if you try to add another one, it will fail because the two way key is already in use. --- .../collection-[collection]/attributes/relationship.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/relationship.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/relationship.svelte index bdac933772..59150c3a78 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/relationship.svelte +++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/relationship.svelte @@ -1,5 +1,5 @@