From f62c55c58f9f1915b37557b7c55ba8a9279e5693 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Mon, 14 Jun 2021 20:05:18 +0100 Subject: [PATCH] SQL for fetching primary keys, needs merged into column SQL --- .../app/[application]/data/_layout.svelte | 6 ++--- .../server/src/integrations/plus/postgres.js | 23 ++++++++++++++++--- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/packages/builder/src/pages/builder/app/[application]/data/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/data/_layout.svelte index 6910d3e925..ef360efd3f 100644 --- a/packages/builder/src/pages/builder/app/[application]/data/_layout.svelte +++ b/packages/builder/src/pages/builder/app/[application]/data/_layout.svelte @@ -8,7 +8,7 @@ const tabs = [ { - title: "Internal", + title: "Databases", key: "table", }, { @@ -17,7 +17,7 @@ }, ] - let selected = $isActive("./datasource") ? "External" : "Internal" + let selected = $isActive("./datasource") ? "External" : "Databases" function selectFirstTableOrSource({ detail }) { const { key } = tabs.find(t => t.title === detail) @@ -35,7 +35,7 @@