From 9969c7fa2a9dcdf5489930e2519ba929239f020d Mon Sep 17 00:00:00 2001 From: steven Date: Thu, 23 Mar 2023 17:51:31 +0800 Subject: [PATCH] feat: implement postgres connector --- components/ConnectionSidebar.tsx | 5 +- components/CreateConnectionModal.tsx | 4 +- lib/connectors/index.ts | 7 +- lib/connectors/mysql/index.ts | 18 +++-- lib/connectors/postgres/index.ts | 81 +++++++++++++++++++++ package.json | 2 + pnpm-lock.yaml | 104 +++++++++++++++++++++++++++ store/connection.ts | 17 ++++- 8 files changed, 222 insertions(+), 16 deletions(-) create mode 100644 lib/connectors/postgres/index.ts diff --git a/components/ConnectionSidebar.tsx b/components/ConnectionSidebar.tsx index 1c1d08d..3234b74 100644 --- a/components/ConnectionSidebar.tsx +++ b/components/ConnectionSidebar.tsx @@ -77,7 +77,8 @@ const ConnectionSidebar = () => { ))}